Method: LibGems::Ext::Builder.run

Defined in:
lib/libgems/ext/builder.rb

.run(command, results) ⇒ Object



46
47
48
49
50
51
52
53
# File 'lib/libgems/ext/builder.rb', line 46

def self.run(command, results)
  results << command
  results << `#{command} #{redirector}`

  unless $?.success? then
    raise LibGems::InstallError, "#{class_name} failed:\n\n#{results.join "\n"}"
  end
end