summaryrefslogtreecommitdiff
path: root/lib/bundler/installer
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-07-10 17:10:22 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-07-19 13:10:39 -0500
commit8a6400f421017462d87cfc9202c3d6cdaaec4d54 (patch)
tree6b582b26940e3b248c7b71648594f60693a7b0ed /lib/bundler/installer
parentaec2780f59caf6070752fc7ceda1470cf1faf496 (diff)
downloadbundler-8a6400f421017462d87cfc9202c3d6cdaaec4d54.tar.gz
Remove several CLI flags that need to be set via config in Bundler 2
Diffstat (limited to 'lib/bundler/installer')
-rw-r--r--lib/bundler/installer/gem_installer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/installer/gem_installer.rb b/lib/bundler/installer/gem_installer.rb
index a9bd0f56a5..086b763d20 100644
--- a/lib/bundler/installer/gem_installer.rb
+++ b/lib/bundler/installer/gem_installer.rb
@@ -66,6 +66,7 @@ module Bundler
end
def generate_executable_stubs
+ return if Bundler.feature_flag.forget_cli_options?
return if Bundler.settings[:inline]
if Bundler.settings[:bin] && standalone
installer.generate_standalone_bundler_executable_stubs(spec)