Skip to content

Instantly share code, notes, and snippets.

@Keoven
Created May 29, 2011 04:15
Show Gist options
  • Save Keoven/997456 to your computer and use it in GitHub Desktop.
Save Keoven/997456 to your computer and use it in GitHub Desktop.
.rvmrc Template
## 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