aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/source
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2014-11-06 15:12:15 +0100
committerVít Ondruch <vondruch@redhat.com>2014-11-20 13:00:28 +0100
commit4c3bfb51bcc6ef3559a136c30db43e95929227a8 (patch)
tree058ad6c8b11f021a25d4664beab2a0095c0161c7 /lib/bundler/source
parent465b12ea2cdd21d5ad4a852d3b722bb57711449d (diff)
downloadbundler-4c3bfb51bcc6ef3559a136c30db43e95929227a8.tar.gz
Remove useless gem build step.
This step is not needed since 90a292725101.
Diffstat (limited to 'lib/bundler/source')
-rw-r--r--lib/bundler/source/path.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/bundler/source/path.rb b/lib/bundler/source/path.rb
index 88ca54ba..3901a700 100644
--- a/lib/bundler/source/path.rb
+++ b/lib/bundler/source/path.rb
@@ -173,7 +173,6 @@ module Bundler
def generate_bin(spec, disable_extensions = false)
gem_dir = Pathname.new(spec.full_gem_path)
- gem_file = nil
# Some gem authors put absolute paths in their gemspec
# and we have to save them from themselves
@@ -187,8 +186,6 @@ module Bundler
end.compact
SharedHelpers.chdir(gem_dir) do
- gem_file = Bundler.rubygems.build_gem gem_dir, spec
-
installer = Path::Installer.new(spec, :env_shebang => false)
run_hooks(:pre_install, installer)
installer.build_extensions unless disable_extensions
@@ -208,10 +205,6 @@ module Bundler
end
Bundler.ui.warn "The validation message from Rubygems was:\n #{e.message}"
- ensure
- if gem_dir && gem_file
- FileUtils.rm_rf(gem_dir.join gem_file)
- end
end
def run_hooks(type, installer)