archan937 / rich_pluralization

Enrichments (e9s) module for localized pluralization
http://codehero.es/rails_gems_plugins/rich_pluralization
MIT License
9 stars 4 forks source link

Invalid YAML error with Psych parser #4

Open DaanVanVugt opened 12 years ago

DaanVanVugt commented 12 years ago

It appears that the es.yml and nl.yml files are not correct yaml. The Syck parses does not give an error but psych fails on these files (maybe more, I didn't test) See also http://pastebin.com/V8SuxWgD

rhomeister commented 11 years ago

I've got the same problem:

/usr/lib/ruby/1.9.1/psych.rb:154:in `parse': (/usr/lib/ruby/gems/1.9.1/gems/rich_pluralization-1.0.6/lib/rich/pluralization/../../../locales/es.yml): couldn't parse YAML at line 8 column 23 (Psych::SyntaxError)

rhomeister commented 11 years ago

Fixed it for now by using:

gem "rich_pluralization", :git => 'git://github.com/archan937/rich_pluralization.git'

instead of:

gem "rich_pluralization"