Created
September 17, 2010 19:52
-
-
Save 13k/584821 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function prefix_with_bundler() { | |
| [ -f Gemfile ] && pre="bundle exec" || pre="" | |
| $pre "$@" | |
| } | |
| alias rbe='prefix_with_bundler' | |
| alias rsv='rbe thin start' | |
| alias rup='rbe rackup -s thin' | |
| alias rcon='[ -f Gemfile ] && rails="bundle exec rails" || rails=`which rails 2> /dev/null`; [ -z "$rails" ] && : || $rails --version | cut -d" " -f2 | grep -q "^3" && $rails console || script/console' | |
| alias bundle1='bundle _1.0.0_' | |
| alias bundle0='bundle _0.9.26_' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment