Ruby Rails 错误 Windows 10

Ruby on Rails Error on Windows 10

我该如何解决这个问题?请帮忙。 我正在使用 windows 10,我正在尝试 运行 这个已经存在的 RoR project.I 对这些项目来说是新手。这里有一个堆栈错误:

C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-3.2.6/lib/active_support/values/time_zone.rb:270:警告:循环参数引用 - 现在 C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/mongrel-1.2.0.pre2-x86-mingw32/lib/mongrel.rb:17:in require': cannot load such file -- 2.2/http11 (LoadError) from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/mongrel-1.2.0.pre2-x86-mingw32/lib/mongrel.rb:17:inrescue in ' 来自 C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/mongrel-1.2.0.pre2-x86-mingw32/lib/mongrel.rb:13:in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:inrequire' 来自 C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:in block (2 levels) in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:ineach' 来自 C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in block in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:ineach' 来自 C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler.rb:106:inrequire' 来自 C:/bottomup_source/bottomup_source/config/application.rb:7:in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-3.2.6/lib/rails/commands.rb:53:inrequire' 来自 C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-3.2.6/lib/rails/commands.rb:53:in block in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-3.2.6/lib/rails/commands.rb:50:intap' 来自 C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-3.2.6/lib/rails/commands.rb:50:in <top (required)>' from script/rails:6:inrequire' 来自 script/rails:6:in `'

我从去年开始在 rails 上使用 ruby,我建议您在 [=17] 上对 ruby 使用 linux 或 ubuntu =] 因为 most 的工具与 windows 不兼容用于开发,但如果你想在 windows os 上使用,请遵循此 ruby on rails on window 希望对你有帮助。