Re: a gem into plugin folder

Jags Rao
Wed, 02 Jul 2008 08:13:19 -0000

hello all

first thx for all the replies

hi bill i was actually looking for this when i came across the haml
plugin.
initially it was available as plugin and also as gem and i used it as
plugin
but now it has to be installed as gem and then we do a command which
copies a file to the plugin folder(dont know what we call doing this
technically).

then i learnt that i can copy the gem to vendor/plugins and it wud work
the same
so was looking for command

i am on rails 2.1.0 and it seems
the rake gems:unpack is the command i''m looking for but there seems to
be some rough edges with gem dependency things in rails 2.1.0. as per
the comments on this article by ryandaigle

http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem-dependencies

so for now i am locating the haml gem in my ruby installation i.e

/usr/lib/ruby/gems/1.8/gems/haml-2.0.1/
and copying it to my plugins folder

again thanks for responses...
--
Posted via http://www.ruby-forum.com/.