Thomas,
Thanks for a great writeup, this will probably be useful for other
folks upgrading/installing Gitorious on their own systems. I've added
a few comments below.
On 13. mai. 2009, at 22.51, Thomas wrote:
> - You need memcached installed (aptitude install memcached)
If you don't want to use memcached, you may use another session
store. In the relevant environment file (probably config/environments/
production.rb), change the line
config.cache_store = :mem_cache_store, "localhost"
to for instance
config.cache_store = :memory_store
to use the memory store instead. There's an article covering the cache
stores in Rails at
http://thewebfellas.com/blog/2008/6/9/rails-2-1-now-with-better-integrated-caching
. Installing memcached is probably a good idea for a production
environment, though.
> - As the login & register page needs ssl, you have to setup a
> gitorious-ssl site in apache
Actually, you can skip the SSL requirement. If you add the line
SslRequirement.disable_ssl_check = true
into (for instance) <gitorious_root>/config/environments/
production.rb, the SSL requirement will be skipped.
> The problems i couldn't solve yet:
> - db-migration aborted (see below [1])
From your stack trace below it seems you need to update Rake on your
system. If you've installed Rake through rubygems, use `[sudo] gem
install rake`, of course replace sudo with whatever fits your system
best.
Good luck!
- 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
-~----------~----~----~----~------~----~------~--~---