And for live editing without install gem

Merb::BootLoader.before_app_loads do
  dev_gems = Dir.glob("#{Merb.root}/gems/development/**/lib/*.rb")
  dev_gems.each { |dev_gem| require dev_gem }
end


On 12 Nov, 11:15, "Michael Klishin" <[EMAIL PROTECTED]>
wrote:
> 2008/11/12 DAddYE <[EMAIL PROTECTED]>:
>
> >> Is possible improve this process making a new dir in gems called "dev"
> >> or "development" where we can put the source of our gems and test it
> >> in our app?
>
> You can keep your plugin in lib for a while, make sure it works, then
> package it as a gem and install when you feel it's ready.
> Nobody forces you to install gems from day one.
> --
> MK
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to