此错误消息的含义是什么,以及如何设置此项目以使服务器正常运行?
我使用的是Windows 7,Ruby 2.2.4,Rails 4.2.0和bundle install
次传递。
gem list
报告:
nokogiri (1.6.8.1 x86-mingw32, 1.6.7.2 x86-mingw32, 1.6.6.2 x86-mingw32)
Per" 'require': cannot load such file -- 'nokogiri\nokogiri' (LoadError) when running `rails server`" 我应该在Gemfile中指定Nokogiri吗?目前尚未指定。
我不知道如何处理此错误报告:
PS C:\Users\user_name\web_page> rails s
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x86-mingw32/lib/nokogiri.rb:29:in `require': cannot load such file -- nokogiri/nokogiri (LoadError)
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x86-mingw32/lib/nokogiri.rb:29:in `rescue in <top (required)>'
...
from bin/rails:9:in `require'
from bin/rails:9:in `<main>'
我应该卸载并重新安装Nokogiri吗?