All,
djanowski and I have been chewing on gem plugins for the last few
days. I've opened a ticket that allows RubyGems to act as Rails
plugins: all they need to do is have a "rails/init.rb" file. I'd
appreciate testing, comments, and anything else you might care to
throw my way. Thanks!
http://dev.rubyonrails.org/ticket/11444
~ j.
I consolidated some of the code I could find and threw it into
http://rubyforge.org/projects/gemsplugin/
To install:
script/plugin install
svn://rubyforge.org/var/svn/gemsplugin/trunk/00-gemsplugin
mkdir vendor/gems
To install a gem:
cd vendor/gems
gem1.8 fetch hobosupport
gem1.8 unpack hobosupport-0.2.gem
rm hobosupport-0.2.gem
Right now I'm getting crushed under a deadline so I haven't had a
chance to continue working on it. Maybe soon?
What I'd like to do next:
1.
script/gem install hobosupport
script/gem remove hobosupport
(should not be too hard)
2.
script/gem install hpricot
(this involves native compilation; binaries would probably end
up in tmp/gems/hobosupport-0.7 or something)
And then I think it would be ready to go.
Any comments welcome! And if anyone in interested in contributing,
I'm happy to add more developers to the Rubyforge project.
- Scott