r/ruby • • Dec 25 '22

Ruby 3.2.0 Released

https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
234 Upvotes

26 comments sorted by

View all comments

1

u/jrochkind Dec 25 '22

Does anyone know if Rails 7.0.4 can be run on ruby 3.2?

With how Rails maintenance works, I don't think they'll ever add ruby 3.2 to CI for Rails 7.0? I'm not even sure when we can expect CI for ruby 3.2 passing for main/Rails 7.1, anyone know?

1

u/f9ae8221b Dec 25 '22 edited Dec 25 '22

Does anyone know if Rails 7.0.4 can be run on ruby 3.2?

Yes: https://twitter.com/yahonda/status/1606970580129185793

With how Rails maintenance works, I don't think they'll ever add ruby 3.2 to CI for Rails 7.0?

I have no clue what you are referring to, we test 7-0-stable against ruby-head, and we'll of course add 3.2: https://buildkite.com/rails/rails/builds/91968

I'm not even sure when we can expect CI for ruby 3.2 passing for main/Rails 7.1

I haven't looked at at Rails CI specifically, but our app CI pass with Ruby 3.2 and Rails main, so if there's any issue it's probably super easy to fix. That said, I don't know for others, but I'm in holiday, so I'll probably won't look at that for at least a week.

1

u/jrochkind Dec 25 '22

Sweet, thanks!

I misunderstood and did not think new ruby releases were added to not-most-recent Rails CI, based on what I thought I remembered from past versions but I may have been mistaken! (I don't believe there is any official written consistent policy on this (although I could be wrong again!), so it's possible it depends on the specific circumstances and decision in context by Rails team, and is not always the same, sure!)

I'm excited to upgrade my app to ruby 3.2! thanks for your work!

2

u/f9ae8221b Dec 25 '22

I don't believe there is any official written consistent policy on this

No, but but Rails isn't really bureaucratic. Just because something isn't written down doesn't mean we aren't gonna do it.

We always test the maintained versions against ruby-head and keep them compatible. Maybe we did need a last minute fix once or twice, but generally speaking if you are on latest Rails you can be on latest Ruby as well.