Created
May 19, 2010 21:22
-
-
Save jswanner/406850 to your computer and use it in GitHub Desktop.
This file contains 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 sc { | |
if [ -e script/rails ]; then | |
rails console $@ | |
else | |
script/console --debugger $@ | |
fi | |
} | |
function ss { | |
if [ -e script/rails ]; then | |
rails server $@ | |
else | |
script/server --debugger $@ | |
fi | |
} | |
function sg { | |
if [ -e script/rails ]; then | |
rails generate $@ | |
else | |
script/generate $@ | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment