summaryrefslogtreecommitdiff
path: root/lib/bundler/source/path
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-08 14:19:04 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-13 07:54:37 +0900
commit0e60b59d5884edb8f9aea023efd9b24f1ff02049 (patch)
treee52935ce510440872ca5ce6b0e092cbc94f18bc9 /lib/bundler/source/path
parent68224651a4d4dc3ce0cea666f5423dd8b6ba6cfc (diff)
Update the bundler version with master branch
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3086
Diffstat (limited to 'lib/bundler/source/path')
-rw-r--r--lib/bundler/source/path/installer.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/bundler/source/path/installer.rb b/lib/bundler/source/path/installer.rb
index a0357ffa39..909e248412 100644
--- a/lib/bundler/source/path/installer.rb
+++ b/lib/bundler/source/path/installer.rb
@@ -26,18 +26,16 @@ module Bundler
end
def post_install
- SharedHelpers.chdir(@gem_dir) do
- run_hooks(:pre_install)
+ run_hooks(:pre_install)
- unless @disable_extensions
- build_extensions
- run_hooks(:post_build)
- end
+ unless @disable_extensions
+ build_extensions
+ run_hooks(:post_build)
+ end
- generate_bin unless spec.executables.nil? || spec.executables.empty?
+ generate_bin unless spec.executables.nil? || spec.executables.empty?
- run_hooks(:post_install)
- end
+ run_hooks(:post_install)
ensure
Bundler.rm_rf(@tmp_dir) if Bundler.requires_sudo?
end