Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecation warning I18n.enforce_available_locales #218

Closed
flxK opened this issue Jun 16, 2014 · 8 comments
Closed

deprecation warning I18n.enforce_available_locales #218

flxK opened this issue Jun 16, 2014 · 8 comments
Assignees

Comments

@flxK
Copy link

flxK commented Jun 16, 2014

every time i start redmine i get this deprecation warning: '[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.'
Redmine and the plugin are set up as described in the wiki of this repo.

@n-rodriguez
Copy link
Contributor

It's normal. It's a Rails deprecation warning. Nothing to do with Redmine Git Hosting.
I think this warning has been removed in Rails 4.

@hameno
Copy link

hameno commented Aug 23, 2014

This is really annoying, as it pops up on every cron run. And it is caused by this plugin. Redmine included a fix for this and I think you should too.

@n-rodriguez
Copy link
Contributor

Redmine included a fix for this and I think you should too.

Show me the code.

@hameno
Copy link

hameno commented Aug 23, 2014

@n-rodriguez
Copy link
Contributor

@dwithnall
Copy link

I too agree that this message is really annoying.

It shows up everytime I run an email cron. So every 5 minutes I get an email containing 3 of these error message.

And yes I can block emails from the cronjob, but I'd like to know if any other error occurs during the process.

@n-rodriguez
Copy link
Contributor

I finally get it :)
It's the wikicloth gem that causes this warning :) (needed to render README file on repository view)

@n-rodriguez
Copy link
Contributor

Actually you only need it if you're using Mediawiki markup language in your README files. If not you can safely comment it in Gemfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants