Sha256: 4f20d4ff1c933b805b05e5d2811af9ff76f3d7780e775441ac643d786d7b6b7e

Contents?: true

Size: 393 Bytes

Versions: 6

Compression:

Stored size: 393 Bytes

Contents

#!/usr/bin/env ruby

module Gem

  class GemRunner

    def run(args)
      do_configuration(args)
      Gem::CommandManager.instance.run(@cfg)
    end

    private

    def do_configuration(args)
      @cfg = Gem::ConfigFile.new(args)
      Gem.use_paths(@cfg[:gemhome], @cfg[:gempath])
      Command.extra_args = @cfg[:gem]
      DocManager.configured_args = @cfg[:rdoc]
    end

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubygems-update-0.8.6 lib/rubygems/gem_runner.rb
rubygems-update-0.8.5 lib/rubygems/gem_runner.rb
rubygems-update-0.8.4 lib/rubygems/gem_runner.rb
rubygems-update-0.8.8 lib/rubygems/gem_runner.rb
rubygems-update-0.8.10 lib/rubygems/gem_runner.rb
rubygems-update-0.8.3 lib/rubygems/gem_runner.rb