Q:
gem install rails
on nokogiri install fail with error: 'nokogiri requires Ruby version < 2.3, >= 1.9.2.'
gem install nokogiri -v '1.6.5'
solve problem of installation
butgem update
again fails
A:
A quick workaround is the following (ruby 2.3 win64):
gem install nokogiri -v '1.6.6.4' gem install rails gem install nokogiri -v '1.6.8.rc3'
After that explictly include
gem 'nokogiri', '>=1.6.8.rc3'
in gemfilegem update
works without errorbundle install
andbundle update
works too
Reference Link: https://github.com/sparklemotion/nokogiri/issues/1456