1

我该如何解决这个问题?请帮忙。 我使用的是Windows 10,我试图运行这个已经存在的RoR项目。我很喜欢这些项目。这里有堆栈错误:Windows 10上的Ruby on Rails错误

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:在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:in 'C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/mongrel-1.2.0.pre2-x86-mingw32/lib/mongrel.rb:13:<top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:in' 需要' from 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:in each' from C:/ RailsInstaller/Ruby2.2.0/lib/ruby​​/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:在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:in ea ch' from 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:in require' from C:/ bottomup_source/bottomup_source/config/application.rb:7:在<top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-3.2.6/lib/rails/commands.rb:53:in中需要C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-3.2.6/lib/rails/commands中的' .rb:53:在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:in中点击' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-3.2.6/lib/rails/commands.rb:50:在<top (required)>' from script/rails:6:in需要从脚本/导轨' :6:在'''

回答

0

即时使用上一年的轨道上的红宝石,我会建议你在轨道上使用Linux或Ubuntu的红宝石,因为大多数工具与窗口不兼容s的发展,但仍然如果你想在Windows操作系统上使用这个ruby on rails on window希望这会帮助你。

+0

我必须在Windows 10上使用它。本指南不帮助我。谢谢。 – fmut

+0

尝试使用“包更新” – Gabbar