You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
Everything was ok until today when I exec bundle update.
Now I can't start rails.
I get this error:
/var/lib/gems/2.4.0/gems/carrierwave-1.2.0/lib/carrierwave.rb:45:in block in <class:Railtie>': undefined method include?' for 馃嚜馃嚫Symbol (NoMethodError)
In app/config/environments/.rb I have: " config.i18n.available_locales = :es"
In app/config/initializers/locale.rb I have:
# config/initializers/locale.rb
I18n.load_path += Dir[Rails.root.join('lib', 'locales', '.{rb,yml}')]
I18n.available_locales = [:en, :es]
I18n.default_locale = :es
In app/lib/locales I have 4 files: es.yml, en.yml, devise.en.yml, devise.es.yml
In the es.yml file I made the corrections for carrierwave error messages.
I read the line 45 in carrierwave.rb.
Is an if conditional so it can't figure out how it is throwing the undefined method error for an include? no matters the :es symbol.
I am in:
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux-gnu]
Rails 5.1.4
(I made a test moving locales under app/config/locales/... but the same happens)
I appreciate any help. Thanks, Mateo.
The text was updated successfully, but these errors were encountered:
Hello.
Everything was ok until today when I exec bundle update.
Now I can't start rails.
I get this error:
/var/lib/gems/2.4.0/gems/carrierwave-1.2.0/lib/carrierwave.rb:45:in
block in <class:Railtie>': undefined method
include?' for 馃嚜馃嚫Symbol (NoMethodError)In app/config/environments/.rb I have: " config.i18n.available_locales = :es"
In app/config/initializers/locale.rb I have:
# config/initializers/locale.rb
I18n.load_path += Dir[Rails.root.join('lib', 'locales', '.{rb,yml}')]
I18n.available_locales = [:en, :es]
I18n.default_locale = :es
In app/lib/locales I have 4 files: es.yml, en.yml, devise.en.yml, devise.es.yml
In the es.yml file I made the corrections for carrierwave error messages.
I read the line 45 in carrierwave.rb.
Is an if conditional so it can't figure out how it is throwing the undefined method error for an include? no matters the :es symbol.
I am in:
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux-gnu]
Rails 5.1.4
(I made a test moving locales under app/config/locales/... but the same happens)
I appreciate any help. Thanks, Mateo.
The text was updated successfully, but these errors were encountered: