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 | |
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')
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/lib/rails/gem_builder.rb | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index dfa80e1e82..0a3c34dbd7 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,6 +1,6 @@ *SVN* -* Flesh out rake gems:unpack to unpack all gems, and add rake gems:build for native extensions. [ddollar] +* Flesh out rake gems:unpack to unpack all gems, and add rake gems:build for native extensions. #11513 [ddollar] rake gems:unpack # unpacks all gems rake gems:unpack GEM=mygem # unpacks only the gem 'mygem' 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 |