Does your project use both specs and test/unit tests? Or did you try to use "spring test" to run specs? What happened? Did you find the root cause of the issue? How do you define a "spec"? I.e. does this issue affect "minitest/spec" specs or just rspec ones? If it doesn't affect minitest/spec specs, won't this prevent users who have minitest/spec specs in the spec/ directory from running them?

I'm in favour of preventing users hitting problems where possible, but I think this is very kludgy and could cause other problems. So I'm keen to explore alternatives first.