summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authoryoka <jesse.ikonen@gmail.com>2022-12-22 08:39:00 +0200
committergit <svn-admin@ruby-lang.org>2023-01-04 13:13:19 +0000
commit87c17a141dc4491abf5282d164f2cba13ade18c4 (patch)
tree2c296503f3d5257210e9a61c602ae22fc1148429 /lib/bundler/cli.rb
parent3d6500ee6e3676979d5199dc7b5feab0d15235de (diff)
[rubygems/rubygems] Enhance bundle open with --path option
https://github.com/rubygems/rubygems/commit/3bf8e59304
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 6745740f11..3f8d0bd0e6 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -509,6 +509,7 @@ module Bundler
subcommand "config", Config
desc "open GEM", "Opens the source directory of the given bundled gem"
+ method_option "path", :type => :string, :banner => "Open relative path of the gem source."
def open(name)
require_relative "cli/open"
Open.new(options, name).run