Class: Gem::Ext::ExtConfBuilder
Class Method Summary (collapse)
Methods inherited from Builder
class_name, make, redirector, run
Class Method Details
+ (Object) build(extension, directory, dest_path, results)
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/rubygems/ext/ext_conf_builder.rb', line 12 def self.build(extension, directory, dest_path, results) cmd = "#{Gem.ruby} #{File.basename extension}" cmd << " #{Gem::Command.build_args.join ' '}" unless Gem::Command.build_args.empty? run cmd, results make dest_path, results results end |