Created
May 29, 2011 04:15
-
-
Save Keoven/997456 to your computer and use it in GitHub Desktop.
.rvmrc Template
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
## Load Environment | |
# | |
if [[ -s "/Users/user_name/.rvm/environments/ruby-1.8.7-p330@gemset" ]] ; then | |
. "/Users/user_name/.rvm/environments/ruby-1.8.7-p330@gemset" | |
fi | |
rvm use 1.8.7@gemset | |
export RAILS_ROOT=$(pwd) | |
## Aliases | |
# | |
alias ss='script/server' | |
alias sc='script/console' | |
alias test_env='RAILS_ENV=test' | |
alias prod_env='RAILS_ENV=production' | |
alias sp='spec --format nested --color' | |
alias coverage='open '$RAILS_ROOT'/coverage/index.html' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment