I\'m running a clean install of Ruby 2.2.1 on Windows 8.1 with DevKit. After the installation I run:
gem install rails
rails new testapp
cd testapp
rails ser
I got Nokogiri running with Ruby 2.2 on Windows 10 with a mix of Mike Dalessios and Julios answer:
gem uninstall nokogiri.gem "nokogiri", ">= 1.6.7.rc" to your Gemfile.bundle install.bundle update nokogiri if bundle has locked Nokogiri at some version.