Skip to content

Instantly share code, notes, and snippets.

@heronmedeiros
Created July 20, 2011 19:44
Show Gist options
  • Save heronmedeiros/1095747 to your computer and use it in GitHub Desktop.
Save heronmedeiros/1095747 to your computer and use it in GitHub Desktop.
Rodar rails com mysql direto
#!/bin/bash
if [ -z "$1" ] ; then
echo "Coloque o nome da app"
else
a="rails new $1 -d mysql"
echo $a
exec $a
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment