Skip to content

Instantly share code, notes, and snippets.

@erubboli
Created August 26, 2010 13:05
Show Gist options
  • Save erubboli/551347 to your computer and use it in GitHub Desktop.
Save erubboli/551347 to your computer and use it in GitHub Desktop.
function ss {
if [ -e script/rails ]; then
script/rails server $@
else
script/server $@
fi
}
function sc {
if [ -e script/rails ]; then
script/rails console $@
else
script/console $@
fi
}
function sg {
if [ -e script/rails ]; then
script/rails generate $@
else
script/generate $@
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment