2021-10-19 20:07:40 +02:00
|
|
|
# Run sudo gem on the system ruby, not the active ruby
|
2010-06-03 21:03:26 +02:00
|
|
|
alias sgem='sudo gem'
|
|
|
|
|
|
|
|
# Find ruby file
|
2012-01-02 21:48:19 +01:00
|
|
|
alias rfind='find . -name "*.rb" | xargs grep -n'
|
2017-11-14 15:37:31 +01:00
|
|
|
|
|
|
|
# Shorthand Ruby
|
|
|
|
alias rb="ruby"
|
|
|
|
|
|
|
|
# Gem Command Shorthands
|
2021-10-20 17:09:38 +02: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 09:44:08 +01:00
|
|
|
alias rrun="ruby -e"
|
2023-10-02 20:41:18 +02:00
|
|
|
alias rserver="ruby -run -e httpd . -p 8080" # requires webrick
|