-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
executing spring outside RAILS_ROOT results in NoMethodError #3
Comments
I think we should traverse up the directory tree until we find a |
I think that's a good idea. We would then:
|
I'm not sure how we'd detect if it's a rails app specifically? |
we could look for |
Yeah, seems quite brittle. Let's do this:
Sound ok? |
I don't like the idea to hardcode |
There is even a generator option to supply a path where to generate the dummy app. |
Ah good point. What do you think about linking |
I'm fine either way. We could think about adding something to rails to make it possible to detect engines or more specifically to reach the dummy application. If the symlink must be created manually I would favor the configuration option in |
Yeah I'm coming back around to the config option. Let's merge your patch then. |
When calling spring outside the RAILS_ROOT directory I get the following error:
This happens for subdirectories of your rails application as well as directories outside a rails app.
The text was updated successfully, but these errors were encountered: