我發現了一個非常有趣的問題,安裝紅寶石寶石可以安裝寶石紅寶石調試,但軌道服務器無法找到它
[email protected]:~/code/Amacron$ 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
You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
Exiting
[email protected]:~/code/Amacron$ 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...
[email protected]:~/code/Amacron$ 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
You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
Exiting
[email protected]:~/code/Amacron$ sudo gem update ruby-debug
Updating installed gems
Nothing to update
[email protected]:~/code/Amacron$ gem --version
1.3.7
[email protected]:~/code/Amacron$ rails --version
Rails 3.0.3
系統是上最新的Ubuntu 11.04
它被註釋掉了。這是非常羞恥的。謝謝你,先生。 – 2011-01-24 03:27:27
@Katy:發生在我們身上。很高興我幫助:) – 2011-01-24 06:59:30