请见下文:
$ 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
前面有人看到这一点吗?
增 编