Last active
December 15, 2021 22:21
-
-
Save rubyandcoffee/124c287efb550145b2320ee98971b5f7 to your computer and use it in GitHub Desktop.
Skip testing framework + use PostgreSQL when creating Rails app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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