Q:
gem install rails
gem install nokogiri -v '1.6.5'
gem 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 gemfile gem update works without error bundle install and bundle update works too Reference Link: