ruby-debug can't be installed

Added by Ruslan Yakauleu almost 3 years ago

  • Debian 6 squeeze
  • Redmine version 2.3.1.stable.11898
  • Ruby version 1.8.7 (x86_64-linux)
  • Rails version 3.2.13
root@hosting:/var/www/redmine# script/rails server webrick -e production -p 80 --debug
=> Booting WEBrick
=> Rails 3.2.13 application starting in production on http://0.0.0.0:80
=> 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

root@hosting:/var/www/redmine# 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...

root@hosting:/var/www/redmine# script/rails server webrick -e production -p 80 --debug
=> Booting WEBrick
=> Rails 3.2.13 application starting in production on http://0.0.0.0:80
=> 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

Whats wrong?