我是铁杆的新手,所以请原谅这个问题,但我一直在寻找如何做到这一点。我有一个github项目,我打算完成,我将不得不最终继续工作,但现在需要在浏览器中查看它(将会崩溃,以便在接下来的几个月内加快速度)。我已经下载了目录并运行了bundle install。现在我正在尝试启动rails服务器,我得到了这个:
Chriss-MacBook-Pro:chris cgood$ rails server
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.11/lib/rails/railtie/configuration.rb:85:in `method_missing': undefined method `active_record' for #<Rails::Application::Configuration:0x007fc07b649c48> (NoMethodError)
from /Users/cgood/event/chris/config/application.rb:69:in `<class:Application>'
from /Users/cgood/event/chris/config/application.rb:25:in `<module:ChrisGood>'
from /Users/cgood/event/chris/config/application.rb:24:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.11/lib/rails/commands.rb:53:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.11/lib/rails/commands.rb:53:in `block in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.11/lib/rails/commands.rb:50:in `tap'
from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.11/lib/rails/commands.rb:50:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
任何帮助都会非常感激!在错误消息后,我一直在拔头发数小时处理错误消息。这个让我很难在互联网上找到任何关于它的东西。
我安装了xcode,rails installer,homebrew和postgreSQL。感谢。