我正在通过关于Lynda Ruby on Rails 4基本培训的教程,并且所有的工作都很顺利,直到我input:rails server
我已经看到了Ruby on Rails – 无法加载这样的文件 – mysql2 / 2.2 / mysql2(LoadError),这并不能解决我的问题,我仍然有相同的错误。
然后这个大错误出现:
C:\Users\Caroline\Sites\simple_cms>rails server C:/Ruby22/lib/ruby/gems/2.2.0/gems/mysql2-0.3.18-x86- mingw32/lib/mysql2/mysql2.r b:2:in `require': cannot load such file -- mysql2/2.2/mysql2 (LoadError) from C:/Ruby22/lib/ruby/gems/2.2.0/gems/mysql2-0.3.18-x86-mingw32/lib/my sql2/mysql2.rb:2:in `<top (required)>' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/mysql2-0.3.18-x86-mingw32/lib/my sql2.rb:31:in `require' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/mysql2-0.3.18-x86-mingw32/lib/my sql2.rb:31:in `<top (required)>' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.4/lib/bundler/runti me.rb:76:in `require' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.4/lib/bundler/runti me.rb:76:in `block (2 levels) in require' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.4/lib/bundler/runti me.rb:72:in `each' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.4/lib/bundler/runti me.rb:72:in `block in require' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.4/lib/bundler/runti me.rb:61:in `each' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.4/lib/bundler/runti me.rb:61:in `require' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.4/lib/bundler.rb:13 4:in `require' from C:/Users/Caroline/Sites/simple_cms/config/application.rb:7:in `<top (required)>' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.2/lib/rails/command s/commands_tasks.rb:78:in `require' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.2/lib/rails/command s/commands_tasks.rb:78:in `block in server' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.2/lib/rails/command s/commands_tasks.rb:75:in `tap' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.2/lib/rails/command s/commands_tasks.rb:75:in `server' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.2/lib/rails/command s/commands_tasks.rb:39:in `run_command!' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.2/lib/rails/command s.rb:17:in `<top (required)>' from bin/rails:4:in `require' from bin/rails:4:in `<main>'
谁能告诉我这里出了什么问题? 我正在使用Windows 7 Professional 32操作系统。
问候,
卡罗琳