Project

General

Profile

Error when registering a new user: "undefined method `exists?' for I18n:Module"

Added by Bob Smith over 9 years ago

Hello Everyone,

I just installed redmine onto my centos 6.5 server.

I got it up and running pretty easily thanks to the documention!!!!

However, I am running into an issue when trying to register a new user. Tried googling but everything I found didn't help :(

My production.log shows this error:
ActionView::Template::Error (undefined method `exists?' for I18n:Module):
17: <p><%= f.text_field :lastname, :required => true ></p>
18: <p><
= f.text_field :mail, :required => true ></p>
19: <
unless @user.force_default_language? >
20: <p><
= f.select :language, lang_options_for_select ></p>
21: <
end >
22: <
if Setting.openid? >
23: <p><
= f.text_field :identity_url %></p>
lib/redmine/i18n.rb:98:in `block in languages_options'
lib/redmine/i18n.rb:97:in `select'
lib/redmine/i18n.rb:97:in `languages_options'
lib/redmine/i18n.rb:103:in `block in languages_options'
lib/redmine/i18n.rb:102:in `languages_options'
app/helpers/application_helper.rb:1041:in `lang_options_for_select'
app/views/my/account.html.erb:20:in `block in app_views_my_account_html_erb__380356055_102065030'
app/helpers/application_helper.rb:1056:in `labelled_form_for'
app/views/my/account.html.erb:9:in `_app_views_my_account_html_erb___380356055_102065030'

The "bundle install" ended up installing i18n-0.6.4. So I went ahead and updated it to i18n-0.6.11 but that didn't seem to fix the problem.

Do I have to have a specific version of i18n? Or does even have to do with i18n?

I just installed redmine so I'm not really sure what information would be relevent to figuring out the problem. Let me know and I'll gladly get it posted.

Sorry, if this is a common question or if I did something incorrect while posting this.

Thanks in advanced.