-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Disable Spring EVERYWHERE. #818
Comments
Internal ticket ID 631486 |
One example of what disabling Spring solves is when the app is running a different version of Ruby than what the buildpack installs for its own execution. For example, as of today the buildpack installs Ruby 2.5.3 to execute itself, but my app uses Ruby 2.6.1. The buildpack correctly installs 2.6.1, but when it arrives at the test phase it complains that I'm running a different version of Ruby than my Gemfile specifies. This happens to be true because Spring has helpfully cached the process for us. Disabling Spring allowed the test phase to fire up the proper version of Ruby. |
Thanks for the feedback @stormsilver. Another issue that I saw recently is found in internal ticket id 712875 |
* upstream/master: [changelog skip] Bring back rake task (heroku#1038) CNB: make the gems layer accessible to subsequent buildpacks heroku#1033 (heroku#1037) [close heroku#934] Skip rake task if it does not exist (heroku#1036) [changelog skip] Move unreleased changelogs (heroku#1035) v218 for Monday release (heroku#1034) [close heroku#1029] Remove default bin/rake binstub (heroku#1031) Document v217 release in master (heroku#1030) [close heroku#1027][changelog skip] Fix frozen string error (heroku#1028) Handle binary binstubs (heroku#1021) v216 release for monday (heroku#1023) Revert "Merge pull request heroku#1014 from heroku/schneems/fu-binstubs" [close heroku#990] Warn on bad shebang line [close heroku#818] Disable spring [changelog skip][close heroku#977] Recommend recent Ruby in warning [changelog skip][close heroku#977] Recommend recent Ruby in warning [close heroku#1001] Put Yarn first on the path Update HEREDOC to 2.5 syntax to support indenting Switch to using /usr/bin/env bash [changelog skip] Fix CNB tests Allow Nolockfile to get to compile phase
I've gotten a few tickets that were resolved by disabling spring with
DISABLE_SPRING=1
. We should consider setting this as a default env var for CI.The text was updated successfully, but these errors were encountered: