开发者

Rails not booting in debug

开发者 https://www.devze.com 2023-01-26 13:12 出处:网络
I did: gem install ruby-debug Then it installs... I launched using: rails server -u -p 3002 (I also tried with -d)

I did:

gem install ruby-debug

Then it installs...

I launched using:

rails server -u -p 3002

(I also tried with -d)

I get this:

=> Booting WE开发者_StackOverflowBrick
=> 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


You need add ruby-debug in your Gemfile

gem 'ruby-debug'
0

精彩评论

暂无评论...
验证码 换一张
取 消