Closed ekampp closed 11 years ago
And I think it's the same problem when you are launching Spork manually right? It must be an issue with how you have configured Spork, try to diagnose it: https://github.com/sporkrb/spork#diagnostic-mode
@ekampp is it still an issue?
I have a some specs (example supplied below) which I can run directly with rspec and guard fine, but when I tried to speed up the process by adding guard-spork, it seems that the specs are now acting up.
The problem that I'm facing is that running controller specs causes this error:
Exception encountered: #<NameError: uninitialized constant MapsController>
when running this piece of spec:
So clearly the
MapsController
class has become unavailable to rspec after adding spork. Am I doing something wrong, have I forgotten some setting, or is there an actual problem here?Here is my gem file and my guard file and the trace: