Saludos a todos,
Soy un principiante en RoR y estoy siguiendo los pasos de un tutorial
para
la creación de un Blog.
Uno de los pasos indica lo siguiente: ruby script/generate scaffold
Article
admin/article
pero al ejecutar dicha sentencia me despliega el siguiente error:
c:/ruby/lib/ruby/1.8/yaml.rb:133:in load': syntax error on line 15, col 2:
host: localhost’ (ArgumentError)
from c:/ruby/lib/ruby/1.8/yaml.rb:133:in load' from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/initializer.rb:551:in
database_configuration’
from
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/initializer.rb:234:in
initialize_database' from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/initializer.rb:92:in
process’
from
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/initializer.rb:47:in
send' from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/initializer.rb:47:in
run’
from ./script/…/config/…/config/environment.rb:13
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.5
/lib/commands/generate.rb:1
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from ./script/generate:3
from -e:3:in `load’
from -e:3
Estoy usando ruby 1.8.6, Rails 1.1.6, Postgresql 8.2.5 y todo esto en
Windos
XP Professional
¿Me pueden ayudar a saber cual es el error?
Gracias