lib/bundler/cli.rb in bundler-2.4.2 vs lib/bundler/cli.rb in bundler-2.4.3
- old
+ new
@@ -507,9 +507,10 @@
D
require_relative "cli/config"
subcommand "config", Config
desc "open GEM", "Opens the source directory of the given bundled gem"
+ method_option "path", :type => :string, :lazy_default => "", :banner => "Open relative path of the gem source."
def open(name)
require_relative "cli/open"
Open.new(options, name).run
end