-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
Ruby 2.3 to 2.5 can't install bundler #422
Comments
Bundler 2.4 has dropped support for Ruby 2.3, Ruby 2.4 and Ruby 2.5. But the RubyGems version provided with these rubies cannot handle The solution is that |
I assume this is because the RubyGems included with Ruby 2.3 thru 2.5 doesn't support I think this was discussed previously. Maybe an input choice for |
I think it should be the default, at least for those old rubies. No need for an extra input. Alternatively, scope the |
Yes. |
I really don't like the idea of updating RubyGems by default. There should be an easy way to fix this without any changes to RubyGems on Ruby 2.6 and later. My opinion, open to any fix... |
Ideally, whatever fix done wouldn't require every repo using A safe way, altho somewhat dirty, could be to add a "< 2.4" to the version requirement when ruby is less than 2.6. There are already a few special cases in the code for installing bundler, so that doesn't seem too terrible.
|
Yes, that is probably best. |
Please do not release an incompatibile Bundler change on Christmas :/ Bundler should have used a new major version (3.0) for such a change, that would not have broken things needlessly (it reminds me of Bundler 2.0). |
We were aware of this potential issue and decided no to cut major versions for this kind of incompatibility that only affects combinations of old rubies + old rubygems. We decided to do this for Christmas release also intentionally. Had I recalled issues like #228 though, where the warning we've been giving for a year was brought up, I would have proposed an update to ruby/setup-ruby, but I missed it :( Of course, you could've also updated this yourself, specially since you were part of the original discussion where we added the warning about this in Bundler. We are all humans and forget things, make mistakes, or make intentional decisions that others see as bad decisions. It happens! Fortunately, in this case, it should be easy to change things so that most users don't notice anything. Anyways, I'm sorry the way we maintain our libraries doesn't please you. I have to say I do get tired of so much negativity from you side Benoit, and that's very rare in our community, so I'm not really used to it and it sucks my energy. Because of that, I will unsubscribe from this post now. Happy Christmas! |
I think the solution is clear. Don't use EOL Ruby or get a EOL Ruby support on your own. In case of emergency, just lock all (including RubyGems and Bundler) in your workflow on your own. |
I don't understand why one would release a new big Bundler version at Christmas. We all have better things to do I believe. It seems it will just maximize the time things are broken and the frustration. |
I do wish you all a happy Christmas/holidays |
Because It's for Ruby 3.2. |
I submit a PR for fix this #423 |
To expand on #422 (comment) which was apparently not well received but was intended to just be factual. I do support dropping support for EOL Rubies in gems, and my opinion is this does not require a major version of the gem (which would just be extra maintenance effort unwarranted for it). However, that's if Here we knew
I guess we need to give a version to Bundler inside ruby/ruby at 3.2 release. |
Do not try to install latest RubyGems due to ruby/setup-ruby#422
Ensure the following before filing this issue
I verified it reproduces with the latest version with
- uses: ruby/setup-ruby@v1
(see Versioning policy)I tried to reproduce the issue locally by following the workflow steps (including all commands done by
ruby/setup-ruby
, except forDownloading Ruby
&Extracting Ruby
),and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)
Are you running on a GitHub-hosted runner or a self-hosted runner?
GitHub-hosted runner
The workflow code or a link to the workflow file
https://github.com/MaxLap/activerecord_where_assoc/blob/master/.github/workflows/run_tests.yml
Link to the log of a failed workflow job, or to a gist with the output
https://github.com/MaxLap/activerecord_where_assoc/actions/runs/3771542199/jobs/6412280221
The command and output of the failing step
The text was updated successfully, but these errors were encountered: