Topic: Debugging in Rails 3.1

Im a Rails 2.3 veteran
Im doing some work in Rails 3.1 at the moment and am trying to get the debugger working.. When i first looked at Rails 3.x many months ago i remember there was some issue with the debugger not working.. now when i try to run the server with --debugger im getting this message :

You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'

Whats the best practice for getting the debugger to work with 3.1?


Re: Debugging in Rails 3.1

btw, im new to 3.1

if i put in my gemfile:

gem 'ruby-debug'

i get this error on server boot :

Could not find gem 'ruby-debug (>= 0) ruby' in the gems available on this machine.