rspec / rspec-rails

RSpec for Rails 6+
https://rspec.info
MIT License
5.16k stars 1.03k forks source link

Document/suggest workaround to avoid crash when running rails generators #2751

Closed glaucocustodio closed 5 months ago

glaucocustodio commented 6 months ago

Hey guys, I just came across this issue https://github.com/rspec/rspec-rails/issues/2623 (rspec aborted my rails g scaffold because I have --require rails_helper in .rspec) 😕

As suggested by https://github.com/rspec/rspec-rails/issues/2623#issuecomment-1278603823, I am documenting the case and adding a possible workaround.

Please let me know your thoughts. Thank you.

JonRowe commented 3 weeks ago

Released in 7.0.0