diff options
| author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2018-10-17 16:01:39 +0900 |
|---|---|---|
| committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2018-10-20 20:01:01 +0900 |
| commit | 6d2c0d2a199564a75612eb492adec5e27eaa923d (patch) | |
| tree | 34f0489741d1d8b3d4164a1ebdf7f2a64984b99f /lib/bundler/shared_helpers.rb | |
| parent | 96f24244c7bad1b78fdf60edcad7f9a092dea6fa (diff) | |
| download | bundler-6d2c0d2a199564a75612eb492adec5e27eaa923d.tar.gz | |
rubocop -a
Diffstat (limited to 'lib/bundler/shared_helpers.rb')
| -rw-r--r-- | lib/bundler/shared_helpers.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index 9d5684aeaf..e09e5e8b74 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -275,11 +275,11 @@ module Bundler until !File.directory?(current) || current == previous if ENV["BUNDLE_SPEC_RUN"] # avoid stepping above the tmp directory when testing - if !!(ENV["BUNDLE_RUBY"] && ENV["BUNDLE_GEM"]) + gemspec = if ENV["BUNDLE_RUBY"] && ENV["BUNDLE_GEM"] # for Ruby Core - gemspec = "lib/bundler.gemspec" + "lib/bundler.gemspec" else - gemspec = "bundler.gemspec" + "bundler.gemspec" end # avoid stepping above the tmp directory when testing |
