Ruby on rails 使用Rails3和Ruby 1.8.7运行Mongrel时出现问题

Ruby on rails 使用Rails3和Ruby 1.8.7运行Mongrel时出现问题,ruby-on-rails,ruby,ruby-on-rails-3,mongrel,mongrel-cluster,Ruby On Rails,Ruby,Ruby On Rails 3,Mongrel,Mongrel Cluster,我正在运行一个linux实例。我的问题和你的一样 除了运行Ruby 1.8.7和Linux之外 以下是mongrel_cluster.log的内容: ** Starting Rails with development environment... /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.8/lib/active_support/dependencies.rb:239:in `require': no such file to load -

我正在运行一个linux实例。我的问题和你的一样 除了运行Ruby 1.8.7和Linux之外

以下是mongrel_cluster.log的内容:

** Starting Rails with development environment...
/usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.8/lib/active_support/dependencies.rb:239:in `require': no such file to load -- dispatcher (LoadError)
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.8/lib/active_support/dependencies.rb:239:in `require'
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.8/lib/active_support/dependencies.rb:225:in `load_dependency'
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.8/lib/active_support/dependencies.rb:596:in `new_constants_in'
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.8/lib/active_support/dependencies.rb:225:in `load_dependency'
        from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.0.8/lib/active_support/dependencies.rb:239:in `require'
        from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:148:in `rails'
        from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:113:in `cloaker_'
        from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in `call'
        from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in `listener'
        from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_'
        from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `call'
        from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `initialize'
        from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `new'
        from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `run'
        from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
        from /usr/lib64/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
我不知道如何解决这个问题

有人能帮忙吗?TIA

gem列表返回什么

你的文件看起来怎么样

你试过重新安装Rails吗

考虑为每个项目使用RVM和Gemset,以便隔离gem冲突


@尼瑞安,宝石列表太长,无法粘贴到这里。但它包括rails 3.0.8、mongrel 1.1.5、rubygems更新版1.8.5、rvm 1.6.20。我在Gemfile中有gem'rails'、'3.0.8'和gem'pg'行。我尝试将gem'mongrel'添加到Gemfile中,并进行了捆绑更新,但没有帮助。不,我没有尝试重新安装Rails。我该怎么做?使用gem命令?谢谢。@Nerian,我已经完成了gem卸载rails和gem安装rails-有效地重新安装了rails。这也没有帮助。我继续看到相同的错误日志。谢谢。@user:您正在使用RVM吗?那么为什么错误显示为/usr/lib64/ruby/gems/1.8/。如果您使用的是RVM,那么它应该在~/.RVM内输出一个文件夹。您确定使用的是RVM安装的ruby吗?ruby返回的是什么?@user:那么你没有使用RVM,你有这样的[[-s$HOME/.RVM/scripts/RVM]]&&&&$HOME/.rvm/scripts/rvm在你的.bash_档案中?@Nerian,不,我的.bash_档案中确实有这一行。导出LD_LIBRARY_PATH[-s/home/ec2 user/.rvm/scripts/rvm]&&source/home/ec2 user/.rvm/scripts/rvm这会将rvm加载到shell会话中。让我试着按照你之前粘贴的博客中的说明进行操作,看看这是否有帮助。谢谢。我们需要看看你的宝石清单。贴在这里:@Cory。我已经将gem列表粘贴到您提供的web链接上。如果你收到了,请告诉我。谢谢。你需要提供粘贴的链接,否则我们看不到。