Sha256: 540d75845c728fb72608c82ed3925e43d3592e1dbb1104b066fb4e798ff3964a

Contents?: true

Size: 498 Bytes

Versions: 2

Compression:

Stored size: 498 Bytes

Contents

require 'rubygems/commands/install_command'
class Gem::Commands::InstallCommand

  unless respond_to? :execute_without_jars
    alias :execute_without_jars :execute
    def execute
      begin
        execute_without_jars
      rescue Gem::SystemExitException => e
        if e.exit_code == 0
          puts "DO SOMETHING HERE WITH JARS"
        end
        raise e
      end
    end
    alias :_s_a_y_ :say
    def say( arg )
      puts arg.sub( /.*\ /, '')
      _s_a_y_( arg )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jbundler-0.3.2 lib/commands/install_with_jars.rb~
jbundler-0.3.1 lib/commands/install_with_jars.rb~