-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Missing minimal Ruby version #2319
Conversation
Please use `required_ruby_version`... Could not see any version in the README, so assuming 2.3+.
Good catch. Rails, which we depend on, has I feel your pain here if a tool is testing Rails 4.2 on Ruby 1.9.3, and Bundler installs Not sure, however, if adding |
You don't support Ruby 2.2. Your |
Make sure to add your thumbs up on rubygems/rubygems#3515 then :-) Indeed, as I point out in the issue I opened, there is no actual fix for this (all too common) situation 🤷♂️. I should also create a rubocop for this |
I hope they'll support the idea. At the same time, I can't install |
We support Rails 5 and Rails 6 in this version (4.0.0) but we for transitionary purposes left the version of Rails at It seems this is a casualty of that, I'd almost rather issue a warning about this with instructions on how to fix than apply this restriction given that it won't "fix" |
Coming back to this, the reason why I haven't just merged it, is because it doesn't fix |
I'm not following the reasoning about not being able to yank it. Isn't there a risk of breaking builds every time you yank a gem? Isn't that inconvenience outweighed by the need to yank the gem to avoid disrupting developers in some other way? |
Yes thats the reasoning.
No, yanking affects everyone and the version of the gem isn't broken, its just a case case that is technically unsupported gets asub optimal situation where they are accidentally upgraded. Ruby 2.2 is EOL'd and quite out of date being what, 5 years old? The majority of |
Right, yanking is not the way. I can check out how difficult it would be to make 4.0.1 that would be Ruby 2.2 compatible... |
I've been trying to take a look at this today, the first hurdle... is actually installing Ruby 2.2... 😂 |
Ok, I'll let you handle it, just let me know if you'd like me to have a look at it. |
Fun fact, Rails |
This is merged into Thanks for the prompt on this @marcandre 💜 🧡 💚 💛 ❤️ |
Awesome! I'm glad that the |
I'm amused by how much time it took to track down that Rails itself had one too 😂 |
Yeah, I saw you had to fiddle with a lot of dependency loading. I'm very glad you looked into it (instead of me), thanks again. |
Please use
required_ruby_version
...It's too bad that 4.0 is out without this, as anyone using/testing older Rubies will have to specify manually a "<4" version in their Gemfile.
I wish Rubygems made that mandatory