首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Rails 3.0 Mongrel问题

Rails 3.0 Mongrel问题
EN

Stack Overflow用户
提问于 2010-10-04 07:12:42
回答 2查看 2.3K关注 0票数 2

好了,伙计们,事实是我正在致力于将一个应用程序移植到justhost.com上,因为我还买不起自己的服务器。无论哪种方式,我一直在mongrel.log中收到这个错误,但没有得到任何关于这个错误的含义或如何修复它的帮助。

/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in require': no such file to load -- dispatcher (LoadError) from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in需要来自/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies的“from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in load_dependency' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:innew_constants_in”.rb:225:in load_dependency' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in需要来自/usr/lib/ruby/.rb:225:in/load_dependency' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in/1.8/gems的/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in call' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:inlistener中的‘from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:148:in rails' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:113:incloaker_’/mongrel-1.1.5/bin/mongrel_rails:99:在cloaker_' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in调用‘从/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in新建’从/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in run' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in运行‘从/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 from /usr/bin/mongrel_rails:19:in ` `load‘from /usr/bin/mongrel_rails:19

我不认为这与我的应用程序的设置有任何关系,但我也是Rails的新手。如果有人知道如何解决这个问题,或者我可能做错了什么,我将不胜感激。提前感谢!

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2010-10-04 21:50:47

我调查了一下这个。由于JustHost使用cPanel,因此cPanel目前不支持Rails3。

票数 1
EN

Stack Overflow用户

发布于 2010-11-22 18:38:11

我不知道你是否仍然对答案感兴趣,但当我试图在我的rails3应用程序中使用mongrel_rails启动命令启动mongrel时,我遇到了同样的错误。

但当我在你的应用程序的脚本文件夹中使用rails服务器启动它时,它就起作用了。如果混合gem在Gemfile中,运行rails服务器将启动mongrel而不是WEBrick。

你会在here上找到更多信息。

希望这能有所帮助!

约翰

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/3851960

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档