From 4a787997c6fb9b520251cd10ce0f2bda4e1c0e64 Mon Sep 17 00:00:00 2001 From: Samuel Giddins Date: Thu, 18 Aug 2016 15:32:12 -0500 Subject: Add FeatureFlag class 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 --- lib/bundler/cli/update.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bundler/cli/update.rb') 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) -- cgit v1.2.1