diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-05-01 23:28:58 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-05-01 23:28:58 -0700 |
commit | e5002e5030cc2e8142ede153afe4c28a8db21ff0 (patch) | |
tree | 10015edb1b8ba1de8c63a9d7bf1993da11c7606a /lib/bundler/installer.rb | |
parent | ff897c49ed6047593a119bfd224b9c9c96edafa3 (diff) | |
download | bundler-e5002e5030cc2e8142ede153afe4c28a8db21ff0.tar.gz |
Only force caching of default gems when installing standaloneseg-standalone-builtin
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r-- | lib/bundler/installer.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index 0e72f5a17b..d0a7dc4fda 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -102,13 +102,15 @@ module Bundler settings = Bundler.settings["build.#{spec.name}"] messages = nil + install_options = { :force => force, :ensure_builtin_gems_cached => standalone } + if settings # Build arguments are global, so this is mutexed Bundler.rubygems.with_build_args [settings] do - messages = spec.source.install(spec, force) + messages = spec.source.install(spec, install_options) end else - messages = spec.source.install(spec, force) + messages = spec.source.install(spec, install_options) end install_message, post_install_message, debug_message = *messages |