This project is archived and is in readonly mode.
"rake gems:install" doesn't work if plugins are missing gem dependencies
-
CS Merritt (csmosx)
I'm not so fond of the environmentsansplugins idea, because I'd rather a hook plugin devs can put in their init.rb or whathaveyou that adds the dependencies to rake gems.
Anywho... webficient put up a dirty hack offering by Dan Munk.
Essentially hack the plugin where it calls for the gem and require it only if its module has been defined.
require 'pdf/writer' if defined? PDF::WriterOf course that wouldn't make for very good error tracing should you run it without first running rake gems, but I rather having rake gems run correctly.