您好我无法预编译我的资产,因为这是“I18n验证弃用警告”。我在这里尝试了答案Rails I18n validation deprecation warning但似乎没有任何效果。我正在使用rails 3.2.11,windows7 64bt,这是我的追踪:
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your loc
ale you can set I18n.enforce_available_locales = false to avoid this message.
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/app/vendor/ruby-1.9.3/bin/ruby /app/vendor/bundle/ruby/1.9.1/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=as
sets --trace
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your loc
ale you can set I18n.enforce_available_locales = false to avoid this message.
** Invoke assets:precompile:all (first_time)
** Execute assets:precompile:all
** Invoke assets:precompile:primary (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke tmp:cache:clear (first_time)
** Execute tmp:cache:clear
** Execute assets:precompile:primary
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your loc
ale you can set I18n.enforce_available_locales = false to avoid this message.
** Invoke assets:precompile:nondigest (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke tmp:cache:clear (first_time)
** Execute tmp:cache:clear
** Execute assets:precompile:nondigest