Hi, I have some Ruby modules inside my merb application /lib directory. Problem is: Every time I make a change in these files I have to restart Merb. This becomes impossible after 1000 restarts in 10 minutes. Can anybody say some magic words to save me? Thanks, -Sergio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080313/a347acda/attachment.html
On Mar 12, 2008, at 10:41 PM, Sergio Oliveira wrote:> Hi, > > I have some Ruby modules inside my merb application /lib directory. > Problem is: Every time I make a change in these files I have to > restart Merb.The same problem occurs when you use libs in the local gems/ dir. When the file changes, it seems to be unloading the current libs, but not reloading them, because when I change a file, I have constants disappear. Jim> Thanks, > > -Sergio > _______________________________________________ > Merb-devel mailing list > Merb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/merb-devel
Having to restart the server on every modification makes it much worse than Java. I miss the servlet API specification. -Sergio On Thu, Mar 13, 2008 at 10:29 AM, Jim Freeze <jimfreeze at gmail.com> wrote:> On Mar 12, 2008, at 10:41 PM, Sergio Oliveira wrote: > > > Hi, > > > > I have some Ruby modules inside my merb application /lib directory. > > Problem is: Every time I make a change in these files I have to > > restart Merb. > > The same problem occurs when you use libs in the local gems/ dir. > When the file changes, it seems to be unloading the current libs, > but not reloading them, because when I change a file, I have constants > disappear. > > Jim > > > > Thanks, > > > > -Sergio > > _______________________________________________ > > Merb-devel mailing list > > Merb-devel at rubyforge.org > > http://rubyforge.org/mailman/listinfo/merb-devel > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080313/272cc134/attachment.html