diff options
author | Rick Olson <technoweenie@gmail.com> | 2008-04-02 21:53:21 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2008-04-02 21:53:21 +0000 |
commit | 8ff9e9365da7ed6dbc2bf9862a9b314e7c819514 (patch) | |
tree | d9d743b7b13f842efddece6cd765add7e7770fad /railties/lib/rails/gem_builder.rb | |
parent | 7d2316604a0bb04fe8c800e12876c58bdac651b4 (diff) | |
download | rails-8ff9e9365da7ed6dbc2bf9862a9b314e7c819514.tar.gz rails-8ff9e9365da7ed6dbc2bf9862a9b314e7c819514.tar.bz2 rails-8ff9e9365da7ed6dbc2bf9862a9b314e7c819514.zip |
missed an added file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails/gem_builder.rb')
-rw-r--r-- | railties/lib/rails/gem_builder.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/railties/lib/rails/gem_builder.rb b/railties/lib/rails/gem_builder.rb new file mode 100644 index 0000000000..629726a5c6 --- /dev/null +++ b/railties/lib/rails/gem_builder.rb @@ -0,0 +1,20 @@ +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
\ No newline at end of file |