Does YAML::Syck::MergeKey have to_sym?


#1

Hi,

I have a stock gentoo ruby/rails installation and am running into an
error with YAML::Syck::MergeKey.

0 wicked www/ror % ruby --version
ruby 1.8.5 (2006-12-04 patchlevel 2) [i686-linux]

(gentoo ebuild 1.8.5_p2)

0 wicked www/ror % rails --version
Rails 1.1.6

Some bits of rails are trying to call to_sym on a YAML::Sycn::MergeKey
object:

0 wicked www/ror % ./script/console
Loading development environment.
./script/…/config/…/config/…/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/core_ext/hash/keys.rb:27:in
symbolize_keys':NoMethodError: undefined methodto_sym’ for
#YAML::Syck::MergeKey:0xb7348318

Is this object supposed to have a to_sym? Looks like it might be
happening when script/console tries to read my config/database.yml.

Regards,
–Dean