Hi there,

seems to be a problem with parsing the config files. I got the same
error message. When substituting config/environments/production.rb:34:
with my own hostname, the error message was gone. However, rails
aborted then with the following error message
 config/initializers/gitorious_config.rb:4: undefined method `[]=' for
nil:NilClass (NoMethodError)

Hopefully, we get the new gitorious running on our servers soon too.

Regards,
Thomas

On May 11, 6:26 pm, Martin Pettersson <[email protected]> wrote:
> Thanks again but sorry again... The config/gitorious.yml is there too....
> I list is below
> Martin
>
> On Monday 11 May 2009 23:21:14 Johan Sørensen wrote:
>
>
>
>
>
> > On Mon, May 11, 2009 at 6:19 PM, Martin Pettersson <[email protected]>
> wrote:
> > > Thanks... but sorry I have it already and when I do rake db:create:all it
> > > works and the databases are created.
> > > so there must be something else...
>
> > [snip]
>
> > >> > undefined method `[]' for nil:NilClass
>
> > >> Sounds like you need to copy the config/database.sample.yml to
> > >> config/database.yml
>
> > Actually, I wrote that a bit too fast, I meant config/gitorious.sample.yml
>
> > JS
>
> > development:
>
> production:
>
> test:
>   # The session secret key (`apg -m 64` is always useful for this kinda stuff)
>   cookie_secret: 8d6d8ce4437672a91be96396302c473b
>
>   # The path where git repositories are stored. The actual (bare) repositories
> resides
>   # in repository_base_path/#{project.slug}/#{repository.name}.git/:
>   repository_base_path: "/gitorious/repositories"
>
>   # Stuff that's in the html <head>. custom stats javascript code etc
>   extra_html_head_data:
>
>   # System message that will appear on all pages if present
>   system_message:
>
>   # Port the ./script/gitorious script should use:
>   gitorious_client_port: 3000
>
>   # Host the ./script/gitorious script should use:
>   gitorious_client_host: localhost
>
>   # Host which is serving the gitorious app, eg "gitorious.org"
>   gitorious_host: localhost
>
>   # User which is running git daemon
>   gitorious_user: root
>
>   # Email spam on server errors to:
>   exception_notification_emails:  [email protected]
>
>   # Mangle visible e-mail addresses (spam protection)
>   mangle_email_addresses: true
>
>   # Enable or Disable Public Mode (true) or Private Mode (false)
>   public_mode: true
>
>   # Define your locale
>   locale: en
>
>   # Where should we store generated tarballs?
>   # (should be readable by webserver, since we tell it to send the file using
> X-Sendfile)
>   archive_cache_dir: "/tmp"
>   # Which directory should we work in when we generate tarballs, before moving
>   # them to the above dir?
>   archive_work_dir: "/tmp"
>
>   # is it only site admins who can create new projects?
>   only_site_admins_can_create_projects: false
>
>   # Should we hide HTTP clone urls?
>   hide_http_clone_urls: false
>
>   oauth:
>     adapter: test
>     consumer_key: foo
>     consumer_secret: bar
--~--~---------~--~----~------------~-------~--~----~
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