This help site has been deprecated. Please send your requests to support@rubygems.org
gem specification
Is it possible to set alias for gem name, so it will automatically create link in bash?
I have gem test and want to run all commands not only with 'test <command>', but also 'moyo <command>'
Discussions are closed to public comments.
If you need help with RubyGems.org please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Eric Hodel on 04 Nov, 2014 07:54 PM
It is not possible to create an alias in bash through a Gem::Specification.
You can create a second executable.
Note that there is already a
test(1)
on all UNIX-like operating systems.Eric Hodel closed this discussion on 04 Nov, 2014 07:54 PM.