[英]Rails, Installed Rails Debugger
Please see below: 请看下面:
$ 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...
That all looks great, then when I go to fire up the server, it starts up and then exists: 一切看起来不错,然后当我启动服务器时,它启动并存在:
$ 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
Anyone seen this before? 有人看过吗?
Thanks 谢谢
You probably need to put it in the Gemfile, gem 'ruby-debug'
and then run bundle install
on it. 您可能需要将其放入Gemfile,gem'ruby
gem 'ruby-debug'
,然后在其上运行bundle install
。 Try that 试试看
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.