Hi Phil,

On Fri, May 29, 2009 at 1:56 AM, prlawrence <prlawre...@gmail.com> wrote:
>
> Gitorious seems to be working, but won't do certain things like create
> a new repo.  I gather its because I don't have the poller running.
>
> However, attempting to run the poller gives an error similar to what I
> get when I try to `rake db:create RAILS_ENV=development` or `rake
> db:create RAILS_ENV=test`.
>
> One other piece of info:  all three sections of my database.yml and
> gitorious.yml are identical.  I just pasted the production parts into
> the development and test sections to get rid of the "undefined method `
> []' for nil:NilClass" error.  Should I be making those sections
> different?  All I want for now is production anyway.
>
> Here are the errors:
> $ script/poller run
> /opt/ruby-enterprise-1.8.6-20090421/lib/ruby/1.8/yaml.rb:133:in
> `load': syntax error on line 21, col 1: ` Warning: The database
> defined as 'test' will be erased and' (ArgumentError)

That's not a very helpful error message, but I think the source of the
problem might be that either the config/database.yml or
config/gitorious.yml isn't in a valid YAML format. Check the files for
weird indention or non-unix lineendings

> Thanks,
> Phil Lawrence

Regards,
JS

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to 
gitorious+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to