0

I am trying to run Phusion Passenger and this is the furthest I got. When it loads up on the website it comes up

require 'rails/all'... 0.550s Bundler.require... 1.510s [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. Application.initialize!... !> Error

Where do I put I18n.enforce_available_locales = false and will this solve my issue?

Michael W.
  • 65
  • 1
  • 2
  • 9

1 Answers1

0

I doubt it will solve the error. You need to put

I18n.enforce_available_locales = false

into your application.rb file so that it looks like this

...
module FoodDump
  class Application < Rails::Application
     ...
     I18n.enforce_available_locales = false
     ...
  end
end
peoplespete
  • 1,104
  • 1
  • 11
  • 15