Skip to content

Conversation

@nathan-nhm
Copy link

Why Ruby 2.2.x ? because that's the last version Rails 3.2.x supports.

This is a long upgrade path.

@kou
Copy link
Member

kou commented Jan 3, 2022

How about using old locale gem?

@nathan-nhm
Copy link
Author

nathan-nhm commented Jan 3, 2022

Rails 3.2.x - including activesupport - supports up to Rails 2.2.x
activesupport 3.2.22.5 needs lib/gettext/runtime/locale_path.rb , which gettext > 2.3.9 does not provide
gettext 2.3.9 needs locale/util/memoizable , which locale 2.1.0 removes
locale 2.0.9 requires 'dl/import' which is not available past Ruby 2.1.x

locale 2.0.5 does not have the requirement of 'dl/import' - as there is an easy replacement, I would prefer to depend on the newer code.

I could make Ruby 2.1.x work without a new version of Locale - Or I could update the version of rails, which I eventually hope to. This might be months away.

That said, I would be happy to spend more time testing this pull request before further consideration. (or, re-submit to an appropriate branch.)

@kou
Copy link
Member

kou commented Jan 4, 2022

It's OK that we use Fiddle instead of DL.
But we don't release a new version based on 2.0.9. Because both of Ruby 2.2 and Rails 3.2 reached EOL.

I suggest that you use Ruby 2.1 until you update your Rails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants