Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Does YAML::Syck::MergeKey have to_sym?

Reply
Thread Tools

Does YAML::Syck::MergeKey have to_sym?

 
 
Dean
Guest
Posts: n/a
 
      12-26-2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"I have been in several network marketing companies, but never have Iseen a system this impressive that does so much soquickly!" yuva Javascript 0 06-27-2008 09:56 AM
What the...? Hash does not have a key it really should have! Joshua Muheim Ruby 5 08-11-2007 02:17 PM
Why does String have to_str and Integer have to_int? Nanostuff Ruby 9 03-01-2007 09:44 PM
Does a resource have to have all phrases in it? =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= ASP .Net 4 02-03-2006 08:58 AM
If your Tv has progresive Scan does your DVD have to have it to work ? Alyssa DVD Video 5 01-06-2006 11:10 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57