Hi!
For some weeks on, I'm unable to install
Zendesk Application Tools, which is a rubygem and an SDK for building applications for Zendesk,
ZAT has several requirements, being one of them nokogiri. When it comes to install ZAT, the installation fails and I've tried lots of ruby versions and other methods with no luck.
See the following lines to read my environment:
PS C:\WINDOWS\system32> ruby -v
ruby 2.4.2p198 (2017-09-14 revision 59899) [x64-mingw32]
PS C:\WINDOWS\system32> gem -v
2.7.2
PS C:\WINDOWS\system32> gem install zendesk_apps_tools
ERROR: Error installing zendesk_apps_tools:
The last version of nokogiri (~> 1.6.8) to support your Ruby & RubyGems was 1.6.8.1. Try installing it with `gem install nokogiri -v 1.6.8.1` and then running the current command again
nokogiri requires Ruby version < 2.4, >= 1.9.2. The current ruby version is 2.4.0.
PS C:\WINDOWS\system32> gem install nokogiri -v 1.6.8.1
ERROR: Error installing nokogiri:
The last version of nokogiri (= 1.6.8.1) to support your Ruby & RubyGems was 1.6.8.1. Try installing it with `gem install nokogiri -v 1.6.8.1`
nokogiri requires Ruby version < 2.4, >= 1.9.2. The current ruby version is 2.4.0.
PS C:\WINDOWS\system32> gem install nokogiri
Fetching: nokogiri-1.8.1-x64-mingw32.gem (100%)
Nokogiri is built with the packaged libraries: libxml2-2.9.5, libxslt-1.1.30, zlib-1.2.11, libiconv-1.15.
Successfully installed nokogiri-1.8.1-x64-mingw32
Parsing documentation for nokogiri-1.8.1-x64-mingw32
Installing ri documentation for nokogiri-1.8.1-x64-mingw32
Done installing documentation for nokogiri after 12 seconds
1 gem installed
PS C:\WINDOWS\system32> gem install nokogiri -- --use-system-libraries
Nokogiri is built with the packaged libraries: libxml2-2.9.5, libxslt-1.1.30, zlib-1.2.11, libiconv-1.15.
Successfully installed nokogiri-1.8.1-x64-mingw32
Parsing documentation for nokogiri-1.8.1-x64-mingw32
Done installing documentation for nokogiri after 1 seconds
1 gem installed
PS C:\WINDOWS\system32> gem install zendesk_apps_tools
ERROR: Error installing zendesk_apps_tools:
The last version of nokogiri (~> 1.6.8) to support your Ruby & RubyGems was 1.6.8.1. Try installing it with `gem install nokogiri -v 1.6.8.1` and then running the current command again
nokogiri requires Ruby version < 2.4, >= 1.9.2. The current ruby version is 2.4.0.
PS C:\WINDOWS\system32> nokogiri -v
# Nokogiri (1.8.1)
---
warnings: []
nokogiri: 1.8.1
ruby:
version: 2.4.2
platform: x64-mingw32
description: ruby 2.4.2p198 (2017-09-14 revision 59899) [x64-mingw32]
engine: ruby
libxml:
binding: extension
source: packaged
libxml2_path: "/home/flavorjones/code/oss/nokogiri/ports/x86_64-w64-mingw32/libxml2/2.9.5"
libxslt_path: "/home/flavorjones/code/oss/nokogiri/ports/x86_64-w64-mingw32/libxslt/1.1.30"
libxml2_patches: []
libxslt_patches: []
compiled: 2.9.5
loaded: 2.9.5
Is there something wrong with nokogiri or is it with ZAT?
Would you need further details please tell me.
Thank you for your support.