I installed mongrel and tried it, but no debugging luck. I tried
adding Debugger.start after the 'require "ruby-debug"'.

Is there a debug flag that you need to add to the start up command?



On Jan 18, 8:27 am, Teedub <[email protected]> wrote:
> I think you need mongrel fordebug
> try
> script/server mongrel
>
> On Jan 18, 6:21 am, Eric J <[email protected]> wrote:
>
> > 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