Guard with RSpec on Rails 4 giving a lot of warnings

The rspec generator rails generate rspec:install now puts the --warnings option in the .rspec file by default. Remove that line, and the warnings will go away.


You can set the warnings to false in the your test environment to force Rspec to disable the warnings messages.

# spec/spec_helper.rb

config.warnings = false