我刚刚卸载了simple_form
gem uninstall simple_form
请在Gemfile及其他相关文件中移除simple_form。
现在,如果我的应用程序验证失败,将出现以下错误信息:
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>:
我以前没有设置过i18n,还需要修改任何与simple_form相关的设置吗?
欢迎提出任何想法!
bundle exec spring stop
。 - Chambeur