Skip to content

Instantly share code, notes, and snippets.

@unicornrainbow
Created November 17, 2010 20:43
Show Gist options
  • Save unicornrainbow/704043 to your computer and use it in GitHub Desktop.
Save unicornrainbow/704043 to your computer and use it in GitHub Desktop.
# Function to start script server
s() {
if [[ $(rails -v) =~ 'Rails 2' ]]; then
script/server $*
else
rails server $*
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment