[Git] Gitorious on Ubuntu

This is the bash history to install and run Gitorious on a Ubuntu server (you need ruby-dev, rails, mongrel and git-core installed to continue).

Some pitfalls:

  • Texpow is not installing because of Onigurama, so download it and build it from sources
  • Problem: “cannot open shared object file: No such file or directory – /usr/lib/ruby/gems/1.8/gems/oniguruma-1.1.0/lib/oregexp.so“. Solution: sudo ldconfig
git clone git://gitorious.org/gitorious/mainline.git  gitorious
cd gitorious
sudo apt-get install libopenssl-ruby1.8
sudo gem install mime-types textpow -y
cp config/gitorious.sample.yml config/gitorious.yml; nano config/gitorious.yml
nano config/database.yml
rake db:migrate
mongrel_rails start

Then open your browser to http://localhost:3000

About alx

One Response to “[Git] Gitorious on Ubuntu”

  1. david

    Ubuntu’s Onigurama package is called “libonig-dev”, just install it…

    bluecloth is required too, to install run:

    apt-get install libbluecloth-ruby

    Reply

Leave a Reply

  • (will not be published)