I am trying to get Rails to work on Windows 10. I am using Ruby 2.3.0, and Rails 4.2.6, and am temporarily using Nokogiri 1.6.3.
When I try running rails new d
Problem solved in version of Nokogiri 1.8.0.
I recently ran into the same problem installing rails on windows with Ruby v2.4.1 I found that removing the gemfile line:
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
then running bundle update
then putting the tzinfo-data line back in the gemfile
I could then run bundle without any issue. All is working well again.
Install the newest version of Nokogiri
. In Gemfile:
gem 'nokogiri', '~> 1.6.8.rc2'
use bundle update nokogiri
, but also check you ruby version ruby -v
I had the same problem as you. On Windows you need to perform an additional step:
http://www.nokogiri.org/tutorials/installing_nokogiri.html