2021-10-19 18:07:40 +00:00
|
|
|
# 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
|
2021-10-20 15:09:38 +00: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 08:44:08 +00:00
|
|
|
alias rrun="ruby -e"
|
2023-10-02 18:41:18 +00:00
|
|
|
alias rserver="ruby -run -e httpd . -p 8080" # requires webrick
|