Re: a gem into plugin folder

Bill Walton
Mon, 30 Jun 2008 14:25:22 -0000

Hi Jags,

Jags Rao wrote:

> also wanted to know whether there would be any issues
> bcos of using a gem as a plugin or is it perctecly ok to do it.

I think the answer to your question is probably yes, using a gem as a plugin
would probably cause issues.  Gems and Plugins have separate purposes.  Gems
extend Ruby.  Plugins extend Rails.  They''re put in separate places
because
Ruby and Rails search for extensions in different places.

Aside from that...  what is it you''re trying to accomplish?  If you
already
have the functionality you''re looking for as a gem, why would you want
to
move that to a plugin?

Best regards,
Bill