Skip to content

Instantly share code, notes, and snippets.

@daviddavis
Created October 23, 2010 12:23
Show Gist options
  • Save daviddavis/642148 to your computer and use it in GitHub Desktop.
Save daviddavis/642148 to your computer and use it in GitHub Desktop.
sc () {
if [[ -f ./script/rails ]]
then
rails c $@
else
./script/console $@
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment