Sha256: 0dec1bc3948a844dee1176fb07d7fa5a4e2bcb419d8fbfe0043932ad3e093668
Contents?: true
Size: 699 Bytes
Versions: 40
Compression:
Stored size: 699 Bytes
Contents
class Jeweler module Commands class InstallGem include FileUtils attr_accessor :gemspec_helper, :output def initialize self.output = $stdout end def run command = "#{gem_command} install #{gemspec_helper.gem_path}" output.puts "Executing #{command.inspect}:" sh command # TODO where does sh actually come from!? - rake, apparently end def gem_command "#{Config::CONFIG['RUBY_INSTALL_NAME']} -S gem" end def self.build_for(jeweler) command = new command.output = jeweler.output command.gemspec_helper = jeweler.gemspec_helper command end end end end
Version data entries
40 entries across 40 versions & 4 rubygems