On 12 August 2010 09:14, sam <[email protected]> wrote:
> /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 6, col
> 2: `  database: teambox2' (ArgumentError)

When you get an error, the first line of the stack trace is usually
the first place to look. In this case, the yaml library is complaining
about bad syntax in "  database: teambox2", which is most likely in
your config/database.yml file.

YAML is pretty strict about indentation, and consistent use of tabs or
spaces. I would check line 6 of database.yml to make sure it is
indented in the same way as the lines around it (for example, perhaps
it is using a tab where the rest of the lines use two spaces, or vice
versa).

Chris

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to