In 2024 the answer is:
.rspec
--format progress --color --require rails_helper
The third line is the critical one to solve this error.