0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

rails sが起動しない rails5.2.2

Last updated at Posted at 2020-01-13

rails 5.2.2をインストールしたときのエラー

Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.

警告文の第2段落によると、

I18n(>= 1.1.0) かつ Rails (< 5.2.2) において fallback 機能を有効にしたい場合、

または、

警告文の第3段落で紹介されているgithubのページによると、

I18n 1.1.x 系において fallback 機能を有効にしたい場合、

/config/environments/production.rb
config.i18n.fallbacks = [I18n.default_locale]

rails newの度に毎回これをやらないといけないのか

If you're using I18n (>= 1.1.0) and Rails (< 5.2.2)

と書かれていることから5.2.2では治るのかどうなのか

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?