Capistrano exception

We haven’t made any changes to the code, but deployments stopped working under some weird problem.

This is the error:

/usr/local/lib/ruby/2.1.0/psych.rb:370:in `parse': (): mapping values are not allowed in this context at line 1 column 6 (Psych::SyntaxError)

I’ve already checked all my yml files, looking for any problems, but all of them look to be ok.

I need some help here.

Have you by any chance upgraded Rails on that stack? It appears that you need to clear your asset pipeline manifest. You can do this with this command:

mv $STACK_BASE/shared/assets/manifest* /tmp

This should solve the issue.

You must be logged in to answer this question