Ruby on Rails Tuesday, November 1, 2011

On Tue, 2011-11-01 at 05:28 -0700, dado_eyad wrote:
> running "rake db:create" returns
> rake aborted!
> couldn't parse YAML at line 20 column 2
>
>
> Tasks: TOP => db:create => db:load_config
> (See full trace by running task with --trace)
>
>
>
>
> at line 20 there's the "socket: /var/run/mysqld/mysqld.sock"
----
yaml is very whitespace sensitive

be sure that this line doesn't use 'tabs' and only a space

socket: /var/run/mysqld/mysqld.sock

Craig


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment