diff options
author | Asutosh Palai <asupalai@gmail.com> | 2016-06-07 23:39:08 +0530 |
---|---|---|
committer | Asutosh Palai <asupalai@gmail.com> | 2016-06-07 23:39:11 +0530 |
commit | cf284c001657a428cc37b4721aed68df795dcfed (patch) | |
tree | 312318c02504e5c0054f3aca55a99767452919e5 | |
parent | f1d2abfb3cefa963df0089e0b858265a817b652c (diff) | |
download | bundler-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.rb | 2 |
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 |