sheredega
sheredega

Reputation: 3

Ruby 3.2 + Rails 6.0.2 activesupport error

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

Upvotes: 0

Views: 674

Answers (1)

spickermann
spickermann

Reputation: 106782

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.

Upvotes: 2

Related Questions