Am i missing a library?


#1

[xxxxx@fedora test]$ script/generate model contact
/usr/lib/ruby/1.8/yaml.rb:133:in load': syntax error on line 17, col 2: host: localhost’ (ArgumentError)
from /usr/lib/ruby/1.8/yaml.rb:133:in load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:459:indatabase_configuration’
from
/usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:181:in
initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:84:inprocess’
from
/usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:42:in run' from ./script/../config/../config/environment.rb:13 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
require' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/generate.rb:1 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require’
from script/generate:3


#2

just a typo in your database.yml

d.


#3

David Andersen wrote:

just a typo in your database.yml

d.

Dont`t forget separate each label from values, i mean

user: *********
database: *******
password: *******

A TIPO