In Rails 3 you need to include the gem in Gemfile

gem 'ruby-debug'

Cheers!
Arzumy

On Nov 8, 8:52 am, Icenine Jon <[email protected]> wrote:
> I'm trying to use ruby-debug but when I try to start the server with it,
> I get an error saying I need to install it (even though it's installed):
>
> tiberius:project Jonathan$ sudo gem install ruby-debug
> Building native extensions.  This could take a while...
> Successfully installed ruby-debug-base-0.10.4
> Successfully installed ruby-debug-0.10.4
> 2 gems installed
> Installing ri documentation for ruby-debug-base-0.10.4...
> Installing ri documentation for ruby-debug-0.10.4...
> Installing RDoc documentation for ruby-debug-base-0.10.4...
> Installing RDoc documentation for ruby-debug-0.10.4...
>
> tiberius:project Jonathan$ rails server --debug
> => Booting WEBrick
> => Rails 3.0.0 application starting in development onhttp://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
>
> tiberius:project Jonathan$ gem list
>
> *** LOCAL GEMS ***
> ...
> ruby-debug (0.10.4)
> ruby-debug-base (0.10.4)
> ...
>
> The gem also appears to run okay:
>
> tiberius:project Jonathan$ irb>> require 'ruby-debug'
>
> => true
>
> Any idea why it's not working?
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to