Does YAML::Syck::MergeKey have to_sym?

D

Dean

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 method `to_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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top