tapajos/brazilian-rails — Issue #32: uninitialized constant Object::RAILS_ROOT (NameError)
Author: juliobetta
Created: 2012-03-01 01:41:27+00:00
State: open

Uso ruby 1.9.2, rails 3.1.1. Se mudar a linha

I18n.load_path = Dir.glob("#{RAILS_ROOT}/config/locales/*") + Dir.glob("#{BrI18n::I18N_FILES}/*")

para

I18n.load_path = Dir.glob("#{Rails.root}/config/locales/*") + Dir.glob("#{BrI18n::I18N_FILES}/*")

resolve o problema!!! =)
abraços e parabens pelo ótimo trabalho de voces.