Skip to content

Instantly share code, notes, and snippets.

@rubyandcoffee
Last active December 15, 2021 22:21
Show Gist options
  • Save rubyandcoffee/124c287efb550145b2320ee98971b5f7 to your computer and use it in GitHub Desktop.
Save rubyandcoffee/124c287efb550145b2320ee98971b5f7 to your computer and use it in GitHub Desktop.
Skip testing framework + use PostgreSQL when creating Rails app
rails new app-name -T -d postgresql
Then add gem 'rspec-rails' to Gemfile (test + dev env), bundle, and run: rails generate rspec:install
Also add the following for debugging:
group :development do
gem 'better_errors'
gem 'binding_of_caller'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment