Sha256: da0a1bb19a635780ab8ec31ff4f372062a122cb74f16e77306f97df26530eea0
Contents?: true
Size: 651 Bytes
Versions: 3
Compression:
Stored size: 651 Bytes
Contents
class Bueller module Commands class InstallGem def self.run_for(bueller) command = new bueller command.run command end attr_reader :bueller def initialize(bueller) @bueller = bueller bueller.output = $stdout end def output bueller.output end def gemspec_helper bueller.gemspec_helper end def run command = "#{gem_command} install #{gemspec_helper.gem_path}" output.puts "Executing #{command.inspect}:" sh command end def gem_command "bundle exec gem" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bueller-0.0.3 | lib/bueller/commands/install_gem.rb |
bueller-0.0.2 | lib/bueller/commands/install_gem.rb |
bueller-0.0.1 | lib/bueller/commands/install_gem.rb |