rspec / rspec-rails

RSpec for Rails 7+
https://rspec.info
MIT License
5.19k stars 1.04k forks source link

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

Closed glaucocustodio closed 7 months ago

glaucocustodio commented 8 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 2 months ago

Released in 7.0.0