summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsutosh Palai <asupalai@gmail.com>2016-06-07 23:39:08 +0530
committerAsutosh Palai <asupalai@gmail.com>2016-06-07 23:39:11 +0530
commitcf284c001657a428cc37b4721aed68df795dcfed (patch)
tree312318c02504e5c0054f3aca55a99767452919e5
parentf1d2abfb3cefa963df0089e0b858265a817b652c (diff)
downloadbundler-cf284c001657a428cc37b4721aed68df795dcfed.tar.gz
Switching back to env to enable plugin cli
The Bundler.settings is not properly initialized at that stage which lead some specs to fail
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 757643d235..d8bc93bb85 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -441,7 +441,7 @@ module Bundler
Env.new.write($stdout)
end
- if Bundler.settings[:plugin]
+ if ENV["BUNDLE_PLUGIN"]
require "bundler/cli/plugin"
desc "plugin SUBCOMMAND ...ARGS", "manage the bundler plugins"
subcommand "plugin", Plugin