[Rubygems-developers] Status of disabling plugins except for command line?

Luis Lavena luislavena at gmail.com
Wed Dec 22 13:52:39 EST 2010

On Wed, Dec 22, 2010 at 3:41 PM, Charles Oliver Nutter
<headius at headius.com> wrote:
> Hey all!
> I wanted to see if there's been any progress getting plugins to load
> only when using the 'gem' command. Currently, because they're loaded
> at the bottom of rubygems.rb, every app that needs rubygems incurs a
> massive startup hit to scan for plugins in all installed gems. On
> JRuby, on my system with 500+ gems installed, this takes several
> seconds.
> I have been recommending that users sensitive to this startup hit
> comment out that code or move it to gem_runner.rb, which gets loaded
> directly from the gem command.
> I talked with James Tucker about the status, and he said I should
> check here. He also said he thought this move had been attempted, but
> that it broke something else.
> We're hoping to ship JRuby 1.6 RCs in the next couple weeks, and it
> would be really great if we could include some fix for the plugin
> startup hit.
> So, what's up?

This is the ticket:


And the code done by James Tucker (raggi) was never merged back to
master/1.4 branch

Luis Lavena
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

More information about the Rubygems-developers mailing list