Skip to content

Instantly share code, notes, and snippets.

@trodrigu
Created September 3, 2015 01:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trodrigu/65e051bba8a5ea8633b1 to your computer and use it in GitHub Desktop.
Save trodrigu/65e051bba8a5ea8633b1 to your computer and use it in GitHub Desktop.
echo "Enter app name "
read name
echo "Your app's name is: $name"
echo "Installing..."
rails new $name -T -d postgresql
cd $name
echo 'gem "rspec-rails", :group => [:development, :test]' >> Gemfile
bundle
rails g rspec:install
echo 'gem "devise"' >> Gemfile
rails g devise:install
rails g devise user
rake db:create
rake db:migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment