How to identify YML parse error

I'm getting the following error when I boot my rails 3.1.3 application:

psych.rb:148:in `parse': couldn't parse YAML at line 28 column 9 (Psych::SyntaxError)

I'm guessing it is related to YML file syntax.

The problem appears when I try running:

YAML.load_file "..."

From another rails 3.1.3 application and YMLs are loaded just fine.

Answers


The syntax is covered here: http://en.wikipedia.org/wiki/YAML#Syntax

An online parser, which may help you troubleshoot, is here: http://yaml-online-parser.appspot.com/


Need Your Help

$('.add').live('click', function()

javascript jquery html

i can't seem to be able to put option tag in my javascript. do help me sifu.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.