DEV Community


Rails 7 will require Ruby 2.7+

ben profile image Ben Halpern ・1 min read

You heard them, make sure you're upgrading!

Discussion (8)

citizen428 profile image
Michael Kohl • Edited

Ruby 2.6 should reach EOL by end of March next year (Ruby always releases around Christmas, the EOL is March 31st 3 years and a bit over 3 months later), so unless Rails 7 releases before then that shouldn't be much of a concern. Given that 6.1 is only a month old and there's usually also a .2 release before a new major version I think this won't affect most people.

briankephart profile image
Brian Kephart

They've announced there will be no 6.2, so Rails 7.0 is expected this year.

citizen428 profile image
Michael Kohl

For everyone else wondering:

This bothered me because I distinctly remember seeing 6.2 in the edge guides. Google still has that indexed, but the article itself now says "6.1 to 7".

Thread Thread
jrochkind profile image
Jonathan Rochkind

"We have big plans for the next version of Rails and that require big versions."

Has there been any info as to what those big changes planned are?

citizen428 profile image
Michael Kohl

Thanks! I somehow missed this.

faraazahmad profile image
Syed Faraaz Ahmad

I hadn't done Rails since Rails 5. I recently tried installing Rails and created a new project, and it felt like it was way more complicated than it was back then. Biggest of those issues is having Yarn, why cant it just use NPM like a normal person? (even as a fallback)

kgilpin profile image
Kevin Gilpin • Edited

Well, it’s true that Rails does include JS baked in now, which did not used to be the case. It does make it a bit more complex, I agree. But virtually 100% of projects demand JS on the front end now, so I think it’s wise of them to include a built-in and standardized way to do it.

damuz91 profile image
David Muñoz

Man!, my work projects still on Rails >4 and <5.2
Recently tried a new project on rails 6 but i find very hard to make Yarn run in both development and production. I hope this gets better for 7.

Forem Open with the Forem app