Skip to content

Instantly share code, notes, and snippets.

@flyfy1
Last active November 19, 2017 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flyfy1/2b02b6d4b063cc15f85d60073e4fa9c8 to your computer and use it in GitHub Desktop.
Save flyfy1/2b02b6d4b063cc15f85d60073e4fa9c8 to your computer and use it in GitHub Desktop.
Rails starter template: rspec / factory_bot / slim
# Put this file in your home foler
-d postgresql
-T
rails_command('db:create')
rails_command('db:migrate')
gem_group :test do
gem 'rspec-rails'
gem 'factory_bot'
end
gem 'slim'
after_bundle do
git :init
git add: '.'
git commit: "-m 'genesis'"
end
generate('rspec:install')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment