Merge pull request #14149 from danielbayley/dev-cmd-ruby
dev-cmd/`ruby`: add `--version`
This commit is contained in:
commit
efa04015a1
@ -15,6 +15,8 @@ module Homebrew
|
|||||||
description <<~EOS
|
description <<~EOS
|
||||||
Run a Ruby instance with Homebrew's libraries loaded. For example,
|
Run a Ruby instance with Homebrew's libraries loaded. For example,
|
||||||
`brew ruby -e "puts :gcc.f.deps"` or `brew ruby script.rb`.
|
`brew ruby -e "puts :gcc.f.deps"` or `brew ruby script.rb`.
|
||||||
|
|
||||||
|
Run e.g. `brew ruby -- --version` to pass arbitrary arguments to `ruby`.
|
||||||
EOS
|
EOS
|
||||||
flag "-r=",
|
flag "-r=",
|
||||||
description: "Load a library using `require`."
|
description: "Load a library using `require`."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user