instiki/vendor/rails/railties/lib/rails/gem_builder.rb
Jacques Distler 7600aef48b Upgrade to Rails 2.2.0
As a side benefit, fix an (non-user-visible) bug in display_s5().
Also fixed a bug where removing orphaned pages did not expire cached summary pages.
2008-10-27 01:47:01 -05:00

22 lines
478 B
Ruby

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