From 0e60b59d5884edb8f9aea023efd9b24f1ff02049 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 8 May 2020 14:19:04 +0900 Subject: Update the bundler version with master branch --- lib/bundler/source/path/installer.rb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'lib/bundler/source/path') 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 -- cgit v1.2.3