2011-04-16 136 views
0

請參閱以下內容:導軌,安裝Rails調試

$ sudo gem install ruby-debug 
Successfully installed ruby-debug-0.10.4 
1 gem installed 
Installing ri documentation for ruby-debug-0.10.4... 
Installing RDoc documentation for ruby-debug-0.10.4... 

這一切都看起來不錯,然後當我去啓動服務器,它啓動,然後存在:

$ rails server --debugger 
=> Booting WEBrick 
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000 
=> Call with -d to detach 
=> Ctrl-C to shutdown server 
Silencing Postgres 
You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug' 
Exiting 

任何人看到這之前?

感謝

+0

你檢查過你的Gemfile以包含ruby-debug或ruby-debug19嗎? – edthix 2011-04-16 05:34:39

回答

5

你可能需要把它放在Gemfile中,gem 'ruby-debug',然後在其上運行bundle install。試試