无法启动rails应用程序

时间:2011-08-10 11:20:41

标签: ruby-on-rails

我得到了在rails 2.3.11上运行的应用程序。我创建了一个单独的gem集来配置应用程序。

安装了所有必需的宝石,但是当我尝试启动服务器时,它会给我一个错误,如下所示

=> Booting WEBrick

=> Rails 2.3.11 application starting on http://0.0.0.0:3000

/home/re5/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- active_record/acts/list (MissingSourceFile)

from /home/re5/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:184:in `require'

from /home/re5/Documents/Client:Applications/LMFT/vendor/plugins/acts_as_list/init.rb:2:in `evaluate_init_rb'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/rails/plugin.rb:158:in `evaluate_init_rb'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/activesupport-2.3.11/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/rails/plugin.rb:154:in `evaluate_init_rb'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/rails/plugin.rb:48:in `load'

from /home/re5/Documents/Client:Applications/LMFT/config/../vendor/plugins/engines/lib/engines/plugin.rb:44:in `load'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/rails/plugin/loader.rb:38:in `load_plugins'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/rails/plugin/loader.rb:37:in `each'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/rails/plugin/loader.rb:37:in `load_plugins'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/initializer.rb:369:in `load_plugins'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/initializer.rb:165:in `process'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/initializer.rb:113:in `send'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/initializer.rb:113:in `run'

from /home/re5/Documents/Client:Applications/LMFT/config/environment.rb:20

from /home/re5/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'

from /home/re5/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:182:in `require'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:547:in `new_constants_in'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:182:in `require'

from /home/re5/.rvm/gems/ruby-1.8.7-p334@lmft_new/gems/rails-2.3.11/lib/commands/server.rb:84

from /home/re5/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'

from /home/re5/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from script/server:3

任何人都可以帮助我。我无法弄清楚问题是什么,我最好用谷歌。

1 个答案:

答案 0 :(得分:0)

您的堆栈跟踪建议您错过acts_as_list插件。您可以在此处找到它:https://github.com/swanandp/acts_as_list