clemens / delocalize

Date/time and number parsing for Rails.

Home Page:http://www.railway.at

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YML

BlakeLucchesi opened this issue · comments

I got everything working fine on my local development (os x with rvm Ruby 1.9.2) but had issues running on my dev server (Ubuntu 11.04 rvm Ruby 1.9.2). Found out it was an issue with the yml format and Psych not being able to handle the syntax from the example given in the readme.

Error message from logs:

Psych::SyntaxError (couldn't parse YAML at line x column y):

References:

The solution can be found here: http://stackoverflow.com/questions/4980877/rails-error-couldnt-parse-yaml#answer-5323060

http://pivotallabs.com/users/mkocher/blog/articles/1692-yaml-psych-and-ruby-1-9-2-p180-here-there-be-dragons

Pull request coming soon with updated syntax...