jwhitley / requirejs-rails

RequireJS support for your Rails 3 or 4 application
MIT License
592 stars 202 forks source link

Error on run requirejs-rails, psych.rb:370:in `parse': (<unknown>): did not find expected key... #239

Closed chenxeed closed 9 years ago

chenxeed commented 9 years ago

Hello, I just want to run my Rails app today with updated gem with requirejs-rails, and I found this error on failed start Rails.

psych.rb:370:in `parse': (): did not find expected key while parsing a block mapping at line 184 column 5 (Psych::SyntaxError)

Now I cannot run my apps for a while. Wonder what's wrong.

chenxeed commented 9 years ago

Found the issue, my apologize.

It was on requirejs.yml, there's extra space that causes error. Because the error doesn't specify, but I search on goooogle and it says that it related to yaml file.