Rails无法在调试中启动

时间:2010-11-22 12:24:29

标签: ruby-on-rails

我做了:

gem install ruby-debug

然后安装......

我推出了使用:

rails server -u -p 3002

(我也尝试过-d)

我明白了:

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

1 个答案:

答案 0 :(得分:2)

您需要在Gemfile中添加ruby-debug

gem 'ruby-debug'