Any ETA on Ruby 2.7 support? #2827
-
Hi there, As I understand it, currently Tracks requires Ruby 2.5. But I note that Ruby 2.5 is getting pretty old now. It appears that there was an attempt to update earlier in the year, but it was rolled back because of rubocop. I'm no Ruby expert by any stretch, but my reading of the RuboCop docs suggests that it supports "MRI 2.6+". From what I understand, "MRI" is the reference Ruby implementation, suggesting it should work with v2.7 (I know it doesn't always work like that, but...). I also note that RuboCop appears to be a static code analysis tool. So whilst having it as part of the build/dev chain makes tons of sense, does it even need to be part of the installed project? Perhaps I completely misunderstand, but not including build time dependencies (that aren't also runtime dependencies) seems like a reasonable approach to me. Bottom line though, if it's not going to change anytime soon I'll push ahead using Ruby 2.5. But if it's going to be updated soonish, then I might wait. And whilst I've got close to zero experience with Ruby, if there is something I can do to help, please ask. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
After the last release the only supported Ruby versions are indeed 2.7 and 3.0. 3.1 is not yet supported but will hopefully be before the next release. So you can (and should) absolutely use 2.7 or 3.0. The default Docker image uses 2.7. What kind of problems did you have in using 2.7? The question concerning removing RuboCop from the release is a good one; I haven't really taken a good look at the dependencies but I should. |
Beta Was this translation helpful? Give feedback.
After the last release the only supported Ruby versions are indeed 2.7 and 3.0. 3.1 is not yet supported but will hopefully be before the next release. So you can (and should) absolutely use 2.7 or 3.0. The default Docker image uses 2.7. What kind of problems did you have in using 2.7?
The question concerning removing RuboCop from the release is a good one; I haven't really taken a good look at the dependencies but I should.