carlhuda/bundler — Issue #1649: Fix and re-enable RubyGems plugins
Author: tpope
Created: 2012-02-02 05:00:24+00:00
State: open

RubyGems plugin support was added in #1364 and reverted in #1500. I am creating an issue for this after an IRC discussion with @raggi, @mpapis and a bit of myself suggested that this is probably a solvable problem. Highlights:

that's just because cripple_rubygems doesn't work anymore
I need to check the cripple method, maybe it could be possible to save global context of gems
no need
the reset hack you just re-setup Gem.path and Gem.dir and then call Gem.refresh
but the problem above is rubygems lazy resolver
cripple_rubygems should force a full resolve in rubygems, activate the whole tree
then do what it currently does
so that the lib paths are setup correctly

And a bit later:

oh, looks like the hacks don't work in 1-1-stable anymore