I'm still having problems with rake in the context of gitorious (I
tried downgrading to rake-0.8.4, but it was the same as with 0.8.7).
For instance, at db:migrate*

rake aborted!
undefined method `[]' for nil:NilClass
 /home/dellis/gitorious/config/environments/development.rb:18:in
`load_environment'

The line to blame is here:

  YAML.load_file(File.join(RAILS_ROOT, "config/gitorious.yml"))
[RAILS_ENV]["gitorious_host"]

So, either the loaded file is nil or file[RAILS_ENV] is nil. Makes me
think the environment variables are unhappy, but

$ ls ${RAILS_ROOT}/config/gitorious.yml -l
-rw-r--r-- 1 dellis dellis 1762 May 19 18:03 /home/dellis/gitorious/
config/gitorious.yml

In my gitorious.yml:
  # Host which is serving the gitorious app, eg "gitorious.org"
  gitorious_host: localhost

... is localhost not okay? I also tried a valid external name for my
box, but same behavior in that case. I would be glad for any advice
(or patch/fix, if it's not just that I'm a dodohead).

Kiitti,

David


* Specifically, 'for RAILS_ENV in development test production ; do
rake db:migrate --trace; done'

On 12 touko, 02:35, Jorge Calás Lozano <[email protected]> wrote:
> Waiting here too, just to accomplish the long time delayed task of
> installing a front-end to our private git repos we currently have +20
> private repos. Any clue on this will be of interest.
>
> The new gitorious looks really good, congrats,
>
> Thx,
>
> Jorge Calás
>
> Diego Algorta wrote:
> > Me too. I do have an old install (pre wiki feature) in production.
>
> > On Mon, May 11, 2009 at 9:06 PM, AkitaOnRails <[email protected]> wrote:
> >> Ok, I will wait for your upgraded documentation :-) I will indeed
> >> upgrade a production environment.
>
> >> On 10 maio, 14:43, Johan Sørensen <[email protected]> wrote:
> >>> On Sun, May 10, 2009 at 7:40 AM, Martin Pettersson <[email protected]> 
> >>> wrote:
> >>>>http://gitorious.org/proviewdoesn'twork yet
> >>>> But the rest of the changes I think is good so far...
> >>>> Keep up the good work... and thanks for a great service.
> >>> Should work as of earlier today. Same with redirects of the /projects/... 
> >>> urls.
>
> >>>> Martin
> >>> Cheers,
> >>> JS
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" 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/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to