Thanks to https://github.com/rosenfeld/gitorious-cookbooks
Install procedures
For installing Gitorious in latest Debian stable using Opscode Chef for a completely automated process, follow these instructions:
apt-get update echo "gem: --no-rdoc --no-ri" > /etc/gemrc apt-get install -y ruby ruby-dev libruby build-essential ssl-cert git apt-get install rubygems gem install bundler gem update --system
export PATH=/var/lib/gems/1.8/bin/:${PATH}
gem install chef mkdir /etc/chef /root/chef-solo wget -O /etc/chef/solo.rb https://gist.github.com/raw/847256/chef-gitorious-etc-solo.rb wget -O /root/chef-solo/node.json https://gist.github.com/raw/847256/chef-gitorious-node-debian.json
First review the settings under /root/chef-solo/node.json. TODO: currently GMail is not supported as smtp relay server. Then procede with:
cd /root/chef-solo
git clone git://github.com/rosenfeld/gitorious-cookbooks.git cookbooks
chef-solo
Troubleshoot
If you have any problems, please fill the issue here.