This help site has been deprecated. Please send your requests to support@rubygems.org

gem specification

andrii's Avatar

andrii

04 Nov, 2014 11:13 AM

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>'

  1. Support Staff 1 Posted by Eric Hodel on 04 Nov, 2014 07:54 PM

    Eric Hodel's Avatar

    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.

  2. Eric Hodel closed this discussion on 04 Nov, 2014 07:54 PM.

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