diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-03-09 21:00:37 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-03-09 21:01:07 +0100 |
commit | 603fd46a535af4fef7e46c5f4596dc5427fb26bf (patch) | |
tree | 4031a169503d3bc9802ef14d090a7bba79d66a3e /spec/support/helpers.rb | |
parent | 8f2b8fa010e0bf21699c2dbf9afb4ecbe5569f2e (diff) | |
download | bundler-603fd46a535af4fef7e46c5f4596dc5427fb26bf.tar.gz |
Build local bundler on a "thread-safe folder"
Diffstat (limited to 'spec/support/helpers.rb')
-rw-r--r-- | spec/support/helpers.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index dde8daaf6f..5af103a0e6 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -299,12 +299,12 @@ module Spec end def with_built_bundler + bundler_path = tmp + "bundler-#{Bundler::VERSION}.gem" + with_root_gemspec do |gemspec| - gem_command! "build #{gemspec}", :dir => root + gem_command! "build #{gemspec} --output #{bundler_path}", :dir => root end - bundler_path = root + "bundler-#{Bundler::VERSION}.gem" - begin yield(bundler_path) ensure |