diff options
author | André Arko <andre@arko.net> | 2012-12-17 16:03:27 -0800 |
---|---|---|
committer | André Arko <andre@arko.net> | 2012-12-17 16:03:27 -0800 |
commit | 29b7c3cd378a76e9654286b1634dbc389dc12caa (patch) | |
tree | 7e99ce1babcef05562c21f829ed20d9cf134c618 | |
parent | 41da815b0aa72431f2509079954264754d6251ed (diff) | |
parent | 596585eab692170755236fe707281bdc16cb6b24 (diff) | |
download | bundler-29b7c3cd378a76e9654286b1634dbc389dc12caa.tar.gz |
Merge pull request #2218 from utkarshkukreti/faster-rake-install
Pass in `--local` when running `rake install` from gem helper tasks.
-rw-r--r-- | lib/bundler/gem_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/gem_helper.rb b/lib/bundler/gem_helper.rb index 50c4dca982..80e249df90 100644 --- a/lib/bundler/gem_helper.rb +++ b/lib/bundler/gem_helper.rb @@ -64,7 +64,7 @@ module Bundler def install_gem built_gem_path = build_gem - out, _ = sh_with_code("gem install '#{built_gem_path}'") + out, _ = sh_with_code("gem install '#{built_gem_path}' --local") raise "Couldn't install gem, run `gem install #{built_gem_path}' for more detailed output" unless out[/Successfully installed/] Bundler.ui.confirm "#{name} (#{version}) installed." end |