Hi I am developing a plugin and wonder if there is a way to tell Mongrel to reload the vendor directory without restarting. Many thanks in advance /Erik Lindblad --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 22 Apr 2008, at 15:10, Erik Lindblad wrote:> > Hi > > I am developing a plugin and wonder if there is a way to tell Mongrel > to reload the vendor directory without restarting. >It''s not really mongrel''s responsability. Removing the plugin''s lib directory from Dependencies.load_once_paths should help (unless you''re messing around with the plugin startup (ie it''s init.rb), in which case you may just be screwed unless you can convince rails to rerun it''s plugin loading process. Fred> Many thanks in advance > > /Erik Lindblad > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Erik Lindblad wrote:> Hi > > I am developing a plugin and wonder if there is a way to tell Mongrel > to reload the vendor directory without restarting.If you hook unit tests to that plugin, you can generally trigger the tests from a "messenger test" in your ./test folder. Then you can make small changes to the plugin, run the tests, and watch the results, without excess manual testing. -- Phlip --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---