Sha256: eb0d86e84890a1bc04779ab007220a892a4a1581c8a6785d176d4789daa6ecee

Contents?: true

Size: 478 Bytes

Versions: 65

Compression:

Stored size: 478 Bytes

Contents

require 'rubygems'
require 'rubygems/installer'

module Rails
  
  # this class hijacks the functionality of Gem::Installer by overloading its 
  # initializer to only provide the information needed by 
  # Gem::Installer#build_extensions (which happens to be what we have)
  class GemBuilder < Gem::Installer

    def initialize(spec, gem_dir)
      @spec    = spec
      @gem_dir = gem_dir
    end

    # silence the underlying builder
    def say(message)
    end

  end
end

Version data entries

65 entries across 64 versions & 11 rubygems

Version Path
rails-2.3.18 lib/rails/gem_builder.rb
rails_csi-2.3.5.p8 lib/rails/gem_builder.rb
rails-2.3.17 lib/rails/gem_builder.rb
rails_csi-2.3.5.p7 lib/rails/gem_builder.rb
rails_csi-2.3.5.p6 lib/rails/gem_builder.rb
rails-2.3.16 lib/rails/gem_builder.rb
rails-2.3.15 lib/rails/gem_builder.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rails-2.3.14/lib/rails/gem_builder.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/rails-2.3.12/lib/rails/gem_builder.rb
rails-2.3.14 lib/rails/gem_builder.rb
kajam-1.0.3.rc2 vendor/rails/railties/lib/rails/gem_builder.rb
rails-2.3.12 lib/rails/gem_builder.rb
radiant-1.0.0.rc2 vendor/rails/railties/lib/rails/gem_builder.rb
radiant-1.0.0.rc1 vendor/rails/railties/lib/rails/gem_builder.rb
webroar-0.5.0 src/admin_panel/vendor/rails/railties/lib/rails/gem_builder.rb
rails-2.3.11 lib/rails/gem_builder.rb
radiantcms-couchrest_model-0.2.4 vendor/rails/railties/lib/rails/gem_builder.rb
radiantcms-couchrest_model-0.2.2 vendor/rails/railties/lib/rails/gem_builder.rb
radiantcms-couchrest_model-0.2.1 vendor/rails/railties/lib/rails/gem_builder.rb
radiantcms-couchrest_model-0.2 vendor/rails/railties/lib/rails/gem_builder.rb