-
Notifications
You must be signed in to change notification settings - Fork 341
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
Processes just hang with Spring 4.0 #663
Comments
I have the same issue with Spring 4.0 or 3.1.1. |
Same but on Rails 5.2 |
same is happening with me for rails c, it gets hang and nothing happens. very problemetic |
has been anything done since then? i was just tinkering around for 45 minutes to get my app running again since the rails commands were not executed anymore. downgraded spring to 2.1.1 to make it work again. im on Rails 6.1.4. and Ruby 2.7.4. Spring was on 4.0.0 which was broken |
I've seen similar issues before. Anyone have ideas on what type of data to collect the next time I see it? |
I've had this problem and for me the problem was I was using Bundler v1 which doesn't provide FYI to debug this and find the problem I did the following:
|
Spring 4.0.0 uses with_unbundled_env which is only available with Bundler 2.1 (see https://bundler.io/v2.1/whats_new.html#helper-deprecations) This has caused issues with some people using e.g Bundler v1 rails#663
We haven't been on Bundler 1.x for awhile, so seems this can be surfaced multiple ways 🤔 |
@technicalpickles Have you tried using |
We've recently updated to spring 4.1.0 (from spring 3.1.1), and I've seen multiple occasions of spring locking up. I haven't seen this with older versions. I have a backtrace to share:
|
If I run If I take out spring, no issues. Curious what is going on there! |
Spring 4.0.0 uses with_unbundled_env which is only available with Bundler 2.1 (see https://bundler.io/v2.1/whats_new.html#helper-deprecations) This has caused issues with some people using e.g Bundler v1 rails/spring#663
Spring 4.0.0 uses with_unbundled_env which is only available with Bundler 2.1 (see https://bundler.io/v2.1/whats_new.html#helper-deprecations) This has caused issues with some people using e.g Bundler v1 rails/spring#663
Hello,
With the release of Spring 4.0, rake tasks and processes just hang, both on local systems as well as the CI Pipeline.
For example:
bundle exec rails db:drop db:create db:schema:load
The above will just run indefinitely, with no output or any error messages.
Does not respond to CTRL+C interrupts and requires the usage of
kill
to actually terminate the Ruby processes.However when I switch back to Spring 3.1.1 everything worked:
This is on a Rails 6.1 Project with Ruby 2.7.3
The text was updated successfully, but these errors were encountered: