summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Vassilevsky <vassilevsky@gmail.com>2016-01-21 18:01:12 +0300
committerIlya Vassilevsky <vassilevsky@gmail.com>2016-01-21 18:01:12 +0300
commitd9aff5a5bcb34be3a44439cf26e4da7be6a6c89f (patch)
tree7dbfabf62e0e2d670578f54e00916bf7f922bf3d
parentd2951bae694f6f151af4a30c36a7e069bff44bc9 (diff)
downloadbundler-d9aff5a5bcb34be3a44439cf26e4da7be6a6c89f.tar.gz
Remove double negation
-rw-r--r--lib/bundler/cli/install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb
index 8478570ad9..d114e2386c 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -94,7 +94,7 @@ module Bundler
Bundler.settings.without = options[:without]
Bundler.settings.with = options[:with]
Bundler::Fetcher.disable_endpoint = options["full-index"]
- Bundler.settings[:disable_shared_gems] = !!Bundler.settings[:path]
+ Bundler.settings[:disable_shared_gems] = Bundler.settings[:path] ? true : nil
# rubygems plugins sometimes hook into the gem install process
Gem.load_env_plugins if Gem.respond_to?(:load_env_plugins)