Rails: if the check is completed, the error "I18n :: InvalidLocaleData" is displayed - it is not possible to load translations from simple_form.en.yml "

I just delete simple_form

gem uninstall simple_form 

and delete simple_form in the Gemfile / related files such as simple_form.en.yml.

Now, if my application verification fails, an error appears:

 I18n::InvalidLocaleData - can not load translations from .../config/locales/simple_form.en.yml: #<Errno::ENOENT: No such file or directory @ rb_sysopen - .../config/locales/simple_form.en.yml>: 

I haven’t configured i18n before, are there any parameters related to simple_form, do I also need to change?

Any ideas appreciated!

+6
source share
1 answer

It caches spring locale files. Do spring stop to fix the problem.

+9
source

Source: https://habr.com/ru/post/973798/


All Articles