elharo
February 13, 2025, 12:36pm
1
Platform (Android, iOS, Website): Website
Description of problem
Various build commands give me.
Your Ruby version is 3.4.1, but your Gemfile specified ~> 3.0.4
So two issues here:
CONTRIBUTING.md does not specify the required version of Ruby.
3.0.x is EOL and should probably be migrated to a later supported version.
This is the message I get when installing 3.0.4:
WARNING: ruby-3.0.4 is past its end of life and is now unsupported.
It no longer receives bug fixes or critical security updates.
I’m not a Ruby developer normally, so I could be missing some subtleties here.
mihow
February 13, 2025, 1:59pm
2
This might be best reported as an issue in the Github repo: https://github.com/inaturalist/inaturalist
Also it might make a great first Pull Request if you want to go ahead and make the change in the Gemfile and Contributing doc yourself.
Thanks for reporting!
elharo
February 13, 2025, 3:57pm
3
I’ll do that. I might also file a meta bug about filing bugs, since right now they pretty much say always start here. I can update the contributing instructions, but I’m enough of a Ruby novice I’m not sure I trust myself to upgrade the Ruby version. Might give it a spin anyway and see if anything breaks.
I can probably help you out if needed.
Note that the version is documented in the .ruby-version file at the root of the repo which is typically automatically detected by most Ruby version managers like rbenv or RVM: https://github.com/inaturalist/inaturalist/blob/main/.ruby-version