summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-03-17 20:10:17 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-03-24 13:25:07 +0900
commit4fe882e2c925c067693fbd432228d92548481ec4 (patch)
tree571d76e57474da9a7fcfd5861d982ae26b2fa7a7 /spec
parentee7cfb1d1ec25f38c14e5d3cec72ed87937ef1c4 (diff)
[rubygems/rubygems] Let `gem exec` raise an error in ambiguous cases
When `gem exec foo` is run, and "foo" is a gem that has multiple executables, none of them named "foo", raise an error explaining the situation and telling user to be more specific. Currently the first command in the executables array is run, but this may come as surprising sometimes, so better raise an error. https://github.com/rubygems/rubygems/commit/acda5d8f6e
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12968
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions