summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/update.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-08-18 15:32:12 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-08-18 15:36:36 -0500
commit4a787997c6fb9b520251cd10ce0f2bda4e1c0e64 (patch)
tree48b243e906bb5c4406346f80aec46bf91ae37382 /lib/bundler/cli/update.rb
parent54ff7a4fb827ec36d5cac2fac843993f28b19077 (diff)
downloadbundler-seg-feature-flag.tar.gz
Add FeatureFlag classseg-feature-flag
Main use will be code showing what is true setting vs what is flagged Also can be used to develop for future major versions without needing a separate dev branch
Diffstat (limited to 'lib/bundler/cli/update.rb')
-rw-r--r--lib/bundler/cli/update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/update.rb b/lib/bundler/cli/update.rb
index 1c35659e0b..c2bf88ff18 100644
--- a/lib/bundler/cli/update.rb
+++ b/lib/bundler/cli/update.rb
@@ -10,7 +10,7 @@ module Bundler
def run
Bundler.ui.level = "error" if options[:quiet]
- Plugin.gemfile_install(Bundler.default_gemfile) if Bundler.settings[:plugins]
+ Plugin.gemfile_install(Bundler.default_gemfile) if Bundler.feature_flag.plugins?
sources = Array(options[:source])
groups = Array(options[:group]).map(&:to_sym)