私のアプリケーションはローカルで正常に動作しますが、本番サーバーにインストールすると、次のエラーが実行rails server
され、ページを要求します。
ActionView::Template::Error (can not load translations from {app}/config/locales/ru.yml, expected it to return a hash, but does not).
YAML翻訳ru.ymlがあります:
ru:
clients:
index:
title: Список клиентов
そして、呼び出し中にエラーが発生します。例:
%h1=t '.title'
私の開発マシンはMacOSXMLを実行しています
本番サーバーは、rvmとlibyamlがインストールされたCentOS6です。
両方のサーバーはRuby1.9.2p320とRails3.2.8上にあります