Gibberish:
In the lang.yml file if I have a line like:
message: {named} person
Then mongrel dies a death with the attached output (mongrel.txt).
However if I change the above line to
message: a {named} person
Then it works fine, I am assuming having an interpolated variable first
is causing some troubles. Then again I am not a rails expert and may be
missing something.
Running latest version of mongrel, edge rails (7837) and the latest
released version of Gibberish.
** Starting Rails with development environment...
/usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 27, col 77: `named_school: {named} school #Having the variable first seems to kill mongrel' (ArgumentError)
from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
from /usr/lib/ruby/1.8/yaml.rb:144:in `load_file'
from /usr/lib/ruby/1.8/yaml.rb:143:in `open'
from /usr/lib/ruby/1.8/yaml.rb:143:in `load_file'
from /home/jeff/workspace/pallas/vendor/plugins/gibberish/lib/gibberish/localize.rb:56:in `load_languages!'
from /home/jeff/workspace/pallas/vendor/plugins/gibberish/lib/gibberish/localize.rb:53:in `each'
from /home/jeff/workspace/pallas/vendor/plugins/gibberish/lib/gibberish/localize.rb:53:in `load_languages!'
from /home/jeff/workspace/pallas/vendor/plugins/gibberish/init.rb:3:in `evaluate'
... 39 levels...
from /home/jeff/workspace/pallas/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
from /home/jeff/workspace/pallas/vendor/rails/railties/lib/commands/server.rb:39
from script/server:3:in `require'
from script/server:3