Copy and paste this code into your terminal
The contents of this script as show. Any updates will be reflected in the below code and the snippet.
gem "rspec-rails" , group: [:development, :test] run "bundle install" generate "rspec:install" run ("bundle binstubs rspec-core") if yes?("Generate a bin/rspec binstub? [yes|no]")