Weird ruby/rails error. I was soo crazy about that. And solution is pretty simple.
CHECK your YAML files for error. As I’ve changed my ruby version other than 1.9.2p180 (higher) and as YAML has changed since then, this could make crazy and hidden errors like that one.