ruby-i18n / i18n

Internationalization (i18n) library for Ruby
MIT License
977 stars 408 forks source link

cannot load such file -- i18n/core_ext/hash (LoadError) #641

Closed aliahmadexe closed 1 year ago

aliahmadexe commented 1 year ago

What I tried to do

What I expected to happen

What actually happened

scottbearden commented 1 year ago

I get the same error from gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in

Versions of i18n, rails, and anything else you think is necessary

i18n = 1.12.0 Rails = 6.0.5.1 Ruby = 3.0.2

aliahmadexe commented 1 year ago

i got it with chewy gem. Because it was explicitly calling i18n hash. so i monkey patch its old version because i am working on a 12 years old Repo. following is the link of my PR. i just replace a single line in chewy.rb. https://github.com/aliahmadexe/chewy/tree/i18n

radar commented 1 year ago

Please provide an app that reproduces this issue.

Ryan On 17 Oct 2022 at 7:47 PM +1100, aliahmadexe @.***>, wrote:

i got it with chewy gem. Because it was explicitly calling i18n hash. so i monkey patch its old version because i am working on a 12 years old Repo. following is the link of my PR. i just replace a single line in chewy.rb. https://github.com/aliahmadexe/chewy/tree/i18n — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>