2011-05-28 14:50:06 +00:00
|
|
|
# TODO: Make this compatible with rvm.
|
|
|
|
# Run sudo gem on the system ruby, not the active ruby.
|
2010-06-03 19:03:26 +00:00
|
|
|
alias sgem='sudo gem'
|
|
|
|
|
|
|
|
# Find ruby file
|
2012-01-02 20:48:19 +00:00
|
|
|
alias rfind='find . -name "*.rb" | xargs grep -n'
|
2017-11-14 14:37:31 +00:00
|
|
|
|
|
|
|
# Shorthand Ruby
|
|
|
|
alias rb="ruby"
|
|
|
|
|
|
|
|
# Gem Command Shorthands
|
|
|
|
alias gin="gem install"
|
|
|
|
alias gun="gem uninstall"
|
|
|
|
alias gli="gem list"
|
2020-06-07 06:44:55 +00:00
|
|
|
alias gi="gem info"
|
|
|
|
alias giall="gem info --all"
|
|
|
|
alias gca="gem cert --add"
|
|
|
|
alias gcr="gem cert --remove"
|
|
|
|
alias gcb="gem cert --build"
|
|
|
|
alias gclup="gem cleanup -n"
|
|
|
|
alias ggi="gem generate_index"
|
|
|
|
alias gh="gem help"
|
|
|
|
alias gl="gem lock"
|
|
|
|
alias go="gem open"
|
|
|
|
alias goe="gem open -e"
|