Forum: Ruby on Rails script/generate scaffold errors

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
donncha (Guest)
on 2006-05-08 13:25
Hi,
I'm following the Agile Development With Rails book and having some
trouble. Specifically, I've typed:

% ruby script/generate scaffold Product Admin

and received the following error:

/usr/local//lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/hash/keys.rb:27:in
`symbolize_keys': undefined method `to_sym' for
#<YAML::Syck::MergeKey:0x23b2e48> (NoMethodError)

I've got rail 1.1.2 and have done

% sudo gem update rails --include-dependencies

and been told that all is up to date. I'm on OSX 10.4.6 and I'm aware
this can be temperamental, but I'd appreciate any suggestions as to what
might be the problem (given that gems is telling my my installation is
correct).

thanks,
donncha
donncha (Guest)
on 2006-05-08 15:00
OK, ignore this. I've figured it out. DB issues.
This topic is locked and can not be replied to.