Thanks Luke - freezing the gems is what I need because I am embedding 
ruby profile calls in there.

However, now I'm trying to add the profiling inside mongrel, because the 
profiling I added in ActionController::Base.process did not show me 
where the delay is occurring.

I did an unpack of mongrel and copied it to vendor along with adding the 
profiling code, but I'm unable to get the vendor version of 
mongrel_rails to execute when I run the script\server.

How do I get the mongrel_rails executable in vendor override the one in 
path?

thanks!

> 
>> How do I configure my project which currently has gems installed for
>> rails to use source code so I can edit and debug it?
> 
> I assume you're debugging anyways:
> 
> http://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-ruby-debug
> 
> If you do that you can step out into the rails code to see what's 
> happening.  If you want to actually put debug lines into rails source 
> code then how about freezing the rails gems into your project?  Then you 
> could edit them and step out at any point you like.
> 
> Cheers
> Luke

-- 
Posted via http://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