Ruby script/generate doesnt work

software development

#1

whenever i run any script/generate command, i get this feedback:

[crackerjack]$ ruby script/generate controller Upload
/usr/lib/ruby/1.8/yaml.rb:133:in load': syntax error on line 18, col 2: host: mysql.nightglass.dreamhosters.com
’ (ArgumentError)
from /usr/lib/ruby/1.8/yaml.rb:133:in load' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:523:indatabase_configuration’
from /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:228:in initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:88:inprocess’
from /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:43:in send' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:43:inrun’
from ./script/…/config/…/config/environment.rb:13
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from /usr/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/generate.rb:1
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from script/generate:3

This just started last week sometime. There are two other rails sites running on my server, and they seem fine. Any Ideas?

Thanks!