diff options
author | Agis- <corestudiosinc@gmail.com> | 2015-09-15 23:28:54 +0300 |
---|---|---|
committer | Agis- <corestudiosinc@gmail.com> | 2015-09-15 23:37:02 +0300 |
commit | 9e2e8dafce6e98a97545a1aff5bdf3dd00c98cf0 (patch) | |
tree | fe5482b96fefe23682c85cfff25da200d357783a /lib/bundler | |
parent | 9cb77343377856af5920691d99ba9075a8bccec2 (diff) | |
download | bundler-9e2e8dafce6e98a97545a1aff5bdf3dd00c98cf0.tar.gz |
Ignore ENV["BUNDLE_GEMFILE"] if it's empty
Fixes #3678.
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/cli.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index bc03b015ad..5ddb6f12db 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -17,7 +17,7 @@ module Bundler super custom_gemfile = options[:gemfile] || Bundler.settings[:gemfile] - ENV["BUNDLE_GEMFILE"] = File.expand_path(custom_gemfile) if custom_gemfile + ENV["BUNDLE_GEMFILE"] = File.expand_path(custom_gemfile) if custom_gemfile && !custom_gemfile.empty? Bundler.settings[:retry] = options[:retry] if options[:retry] |