Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

required_ruby_version in gemspec is incorrect #462

Closed
mattbrictson opened this issue Jan 14, 2019 · 2 comments
Closed

required_ruby_version in gemspec is incorrect #462

mattbrictson opened this issue Jan 14, 2019 · 2 comments

Comments

@mattbrictson
Copy link

mattbrictson commented Jan 14, 2019

What I tried to do

I tried to use the i18n gem on Ruby 2.0.0.

What I expected to happen

I expected it to work, since the gemspec says:

required_ruby_version = ">= 2.0.0"

What actually happened

i18n-1.5.1/lib/i18n/core_ext/hash.rb:4:in `block in <module:HashRefinements>': undefined method `using' for #<refinement:Hash@I18n::HashRefinements> (NoMethodError)

Proposed fix

The release notes say that i18n requires Ruby >= 2.3.0. I think that the required_ruby_version in the gemspec should be updated to match.

@radar
Copy link
Collaborator

radar commented Jan 14, 2019

Thanks for letting us know about that @mattbrictson. I've added a commit to master which changes that here: 213641f.

Once this build finishes, I will release i18n 1.5.2 which will have the correct required_ruby_version set in the gemspec.

@radar
Copy link
Collaborator

radar commented Jan 14, 2019

I have released 1.5.2 with this fix included. Thank you!

@radar radar closed this as completed Jan 14, 2019
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

No branches or pull requests

2 participants