-
Notifications
You must be signed in to change notification settings - Fork 340
3.1.1 started breaking with getpid or cache_classes #664
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
Comments
Downgraded to 3.1.0 - did not fix the issue
|
The cache_classes error is legitmate. Your need to fix it. Either you should disable cache classes, or disable spring in production. After you fix that, does the |
I guess it is a legitimate error. It surprised me that it started occurring about 2 weeks ago and it was not an issue for 3-4 years. If I disable spring with DISABLE_SPRING=true then the error does not occur. |
The |
Does |
Haven't seen in happen. Only in production. |
Why is spring being used in production? |
Durring the years we've had cases where we make a change and an error In config/environments/production.rb Tests and dev are passing and we only find out about the error when we deploy to production. What we did then is as last step of the CI, before deploy, we start in production env as a way to check that there are no errors in the config. We start and then kill the process
|
Ah, got it. Maybe you should disable spring in that command as well, or you will need to disable cache_classes.
|
Yes this is exactly what I did In comment #664 (comment) But I only found out about the env variable after creating the issue |
Got it. I'm closing this issue since the fix is to either change |
Thanks. I think that's fair |
On December 01 we've update to Spring 3.1.1
Since then one of two errors occur when we try to run the platform on the CI machine
It is this:
or this:
This happen when we execute
We need the last step of the process just to make sure the platform could start and we've not made a stupid configuration error in some of the production config files which has happened before
The text was updated successfully, but these errors were encountered: