I put require "ruby-debug" at the top of config/environments/
development.rb. I just tried moving it to the bottom of the file and
that didn't seem to help either.

I put the command 'debugger' at the start of one of my controller
methods, so it should hit the controller and then call debugger.



On Jan 18, 7:13 am, Fernando Perez <[email protected]>
wrote:
> Eric J wrote:
> > I installedruby-debugusing this command:
> >   sudo gem installruby-debug-y
>
> > and then added the line to config/environments/development.rb:
> >   require "ruby-debug"
>
> > I restarted webrick and put 'debugger' in my code and tried to access
> > the page with the debugger command, but it didn't do anything. I've
> > tried several times and restarted webrick, to no avail.
>
> > rails 2.1.1
> > ruby1.8.6
> >ruby-debug-0.10.3
>
> > Eric
>
> Where did you put the require statement and where did you put the
> debugger method for instance?
>
> --
> Video training screencasts athttp://www.digiprof.fr
> --
> 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