Hello Yehuda, one question, If I do mymerbapp$ merb-gen plugin myplugin
Inside my merb app myplugin will be loaded correctly. So is not possible put it in another dir like plugins? On 11 Nov, 15:57, "Yehuda Katz" <[EMAIL PROTECTED]> wrote: > I think there's a misunderstanding here. > DAddYE, plugins in Merb are just gems. The plugin generator in Merb is > designed to be used outside of a Merb app, and then you just load them in > via the regular dependencies. To make the gem, run rake package or rake > install inside the generated package. > > -- Yehuda > > On Tue, Nov 11, 2008 at 9:29 AM, Michael Klishin < > > > > [EMAIL PROTECTED]> wrote: > > > 2008/11/11 DAddYE <[EMAIL PROTECTED]>: > > > > Michael, > > > > thanks for your suggestion, last question, how Merb can know if there > > > is a new directory/plugin in root app? Do you know the piece of code? > > > If what you mean here is "how to enable autoload for spinoffs", > > I need to find out if I added it using Merb.push_path or it just works > > somehow. > > > Actually I did not notice I did any server restarts, but I doubt it's gonna > > work > > this way out of the box. I'll look it up later today or tomorrow. > > -- > > MK > > -- > Yehuda Katz > Developer | Engine Yard > (ph) 718.877.1325 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
