Skip to content

Instantly share code, notes, and snippets.

@trodrigu
Created September 3, 2015 01:41
Show Gist options
  • 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