0

i started learning rails couple of days ago and i face errors every step i hardly get over the installation and when i came to this point of Generate Controller i got that error that i cant find any solution any ideas ?

> c:/Ruby192/lib/ruby/1.9.1/psych.rb:148:in `parse': couldn't parse YAML
> at line 1 9 column 2 (Psych::SyntaxError)

ScreenShot: http://sdrv.ms/12VD1Wu

1 Answers1

0

You have an error in your config/database.yml file, in line 19, column 2. Fix the error and you will be able to proceed.

To get the file straight, you might want to google for "yml online validator" and use one of the suggested tools.

Christoph Petschnig
  • 4,047
  • 1
  • 37
  • 46