Home > OS >  Ruby 3.2 Rails 6.0.2 activesupport error
Ruby 3.2 Rails 6.0.2 activesupport error

Time:01-28

I`m trying to create a new Rails app, using Ruby v 3.2.0 and Rails 6.0.2, but I get following error. Anyone know how to solve this problem?

Error image

1

CodePudding user response:

Ruby on Rails 6.0 was released before Ruby 3.2 existed. Therefore, it is not surprising that Ruby on Rails 6.0 does not support running with Ruby 3.2

According to the answers to this question, Ruby on Rails 6.0 should run well on Ruby 2.5–2.7.

I suggest downgrading your Ruby version to the latest 2.7.x version: 2.7.7 was released about two months ago.

But keep in mind that Ruby 2.7 will reach end of life in about two months. Therefore, you might want to consider updating your application to 6.2 or 7.0 soon.

  • Related