【发布时间】:2014-04-28 16:21:13
【问题描述】:
我正在使用 ruby 1.9.3 运行 rails 3 应用程序。 Heroku 给我一个错误 500 并在 heroku 日志中显示此消息:
在 2014-03-20 08:42:50 +0000 开始为 90.3.47.58 获取“/” 在 176 毫秒内完成 500 个内部服务器错误
<p><%= t('.title_html') %></p>
在布局/应用程序中渲染 store/index.html.erb (96.3ms)
<p id="notice"><%= notice %></p>
ActionView::Template::Error(未初始化的常量 I18n::RESERVED_KEYS):
应用程序在本地运行良好。问题仅出现在生产部署中。 有什么想法吗?
【问题讨论】:
标签: ruby-on-rails heroku rails-i18n