summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2018-03-20 20:54:41 -0700
committerSamuel Giddins <segiddins@segiddins.me>2018-04-18 20:50:40 -0700
commitecda83c37afb8799eb5228fc3fa1015f0dc8c99b (patch)
tree22f8cfb9e1bd4e21c3a226f4bf925bc0d9c7718e /lib/bundler/cli.rb
parentbbd0b49aa2260de17b697a21f2bb932959284c5c (diff)
downloadbundler-ecda83c37afb8799eb5228fc3fa1015f0dc8c99b.tar.gz
[Binstubs] Add --all optionssegiddins/bundle-binstubs-all
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index d86441f5ae..1b913024e2 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -319,6 +319,8 @@ module Bundler
"Specify a different shebang executable name than the default (usually 'ruby')"
method_option "standalone", :type => :boolean, :banner =>
"Make binstubs that can work without the Bundler runtime"
+ method_option "all", :type => :boolean, :banner =>
+ "Install binstubs for all gems"
def binstubs(*gems)
require "bundler/cli/binstubs"
Binstubs.new(options, gems).run