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

Trans transfire at gmail.com
Thu Dec 23 13:32:17 EST 2010



On Dec 23, 11:35 am, James Tucker <jftuc... at gmail.com> wrote:

> > If that's asking too much, then at the very least, make this patch a
> > configurable option in the .gemrc file. Power users who aren't using
> > any of the above mentioned plugins could then easily flip the switch
> > to get the speed up.
>
> Please explain this.

Basically something like...

rubygems/config_file.rb

  # True if we want plugin loading to be limited to gem command
  attr :command_plugins_only

rubygems.rb

  unless Gem.configuration.command_plugins_only
    gem.load_plugins
  end

rubygems/gem_runner.rb

  if Gem.configuration.command_plugins_only
    gem.load_plugins
  end



More information about the Rubygems-developers mailing list