This project is archived and is in readonly mode.

#6354 ✓committed
Shtééf

Psych does not handle symbols in YAML, used in ActiveSupport

Reported by Shtééf | February 1st, 2011 @ 04:00 PM

Bundler 1.0.10 loads Psych by default. (Bundler commit a318f91) At least ActiveSupport 2.3.10 subtly breaks because of this.

Psych does not seem to understand symbols in inline sequences used in lib/active_support/locale/en.yml. This can be triggered by any action that loads this file, in my case it was Array#to_sentence.

It looks like this was already fixed in 3.0, which uses the block notation for sequences instead. This works fine in Psych.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages