2021-10-19 11:07:40 -07:00
|
|
|
# Run sudo gem on the system ruby, not the active ruby
|
2010-06-03 12:03:26 -07:00
|
|
|
alias sgem='sudo gem'
|
|
|
|
|
|
|
|
# Find ruby file
|
2012-01-02 13:48:19 -07:00
|
|
|
alias rfind='find . -name "*.rb" | xargs grep -n'
|
2017-11-14 07:37:31 -07:00
|
|
|
|
|
|
|
# Shorthand Ruby
|
|
|
|
alias rb="ruby"
|
|
|
|
|
|
|
|
# Gem Command Shorthands
|
2021-10-20 08:09:38 -07:00
|
|
|
alias gein="gem install"
|
|
|
|
alias geun="gem uninstall"
|
|
|
|
alias geli="gem list"
|
|
|
|
alias gei="gem info"
|
|
|
|
alias geiall="gem info --all"
|
|
|
|
alias geca="gem cert --add"
|
|
|
|
alias gecr="gem cert --remove"
|
|
|
|
alias gecb="gem cert --build"
|
|
|
|
alias geclup="gem cleanup -n"
|
|
|
|
alias gegi="gem generate_index"
|
|
|
|
alias geh="gem help"
|
|
|
|
alias gel="gem lock"
|
|
|
|
alias geo="gem open"
|
|
|
|
alias geoe="gem open -e"
|
2021-12-29 01:44:08 -07:00
|
|
|
alias rrun="ruby -e"
|
2023-10-02 11:41:18 -07:00
|
|
|
alias rserver="ruby -run -e httpd . -p 8080" # requires webrick
|