On 18. mai. 2009, at 05.03, prlawrence wrote: > I thought it looked suspicious that the development and production > sections of gitorious.yml were empty, so I copied the contents of the > test section (which I had filled out per the recipe) into the > production section.
So now your gitorious.yml has a section for test and production, but none for development, right? > Run `rake gems:install` to install the missing gems. > > So I tried that: > $ rake gems:install > (in /var/www/gitorious) > rake aborted! > undefined method `[]' for nil:NilClass > > Any clues? Thanks, I would guess that it's due to the development section of gitorious.yml missing. Rake defaults to the development RAILS_ENV, so this would give that problem. If this is the case, you could do is either: - specify another RAILS_ENV when doing rake gems:install. If you have a section for test and production, you could use RAILS_ENV=production - add a section for development, which is what Rails will default to use. Cheers, - Marius --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
