Gems vs plugins

Hi,

Is there an easy way of converting a gem to a plugin, or at least
something you can dump into $RAILS_ROOT/vendor?

I’m uncomfortable having stuff like capistrano, the shipping gem,
builder, autotest being installed globally as a gem instead of being
installed for each application.

What do you think?

Joe

On 8/16/06, Joe Van D. [email protected] wrote:

Is there an easy way of converting a gem to a plugin, or at least
something you can dump into $RAILS_ROOT/vendor?

something along the lines of geoffrey grosenbach’s freeze_other_gems
rake task might do the trick for you?
http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory

i’m not really sure how this works for gems with native code but it
may be worth looking into.

regards,
jean-pierre

unknown wrote:

On 8/16/06, Joe Van D. [email protected] wrote:

Is there an easy way of converting a gem to a plugin, or at least
something you can dump into $RAILS_ROOT/vendor?

You can also run gem unpack in the vendor directory . Not
sure if this is what you need ?

Chris

On 8/17/06, Chris L. [email protected] wrote:

On 8/16/06, Joe Van D. [email protected] wrote:

Is there an easy way of converting a gem to a plugin, or at least
something you can dump into $RAILS_ROOT/vendor?

You can also run gem unpack in the vendor directory . Not
sure if this is what you need ?

i think the freeze_other_gems rake task is using gem unpack as well.
still not sure how it would work for gems with native code (rmagick
and the like) but perhaps i’ll give it a go and see how it works out.

cheers,
jean-pierre

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs