alexgb / guard-konacha

Automatically run konacha tests through Guard
MIT License
31 stars 17 forks source link

Fails to load rails application with different default_locale #31

Open hugocorbucci opened 9 years ago

hugocorbucci commented 9 years ago

As of Rails 4.2, i18n has been upgraded to fail upon default_locale assignment if the locale given is not listed in the available_locales. The rails instructions recommend you configure this inside your Current::Application class with config.i18n.available_locales = [:en, :other].

Guard-Konacha fails to use this and therefore fails to start on rails 4.2 applications forcing the hosting application to use I18n.available_locales = [:en, :other] outside of the Current::Application definition.