CirclingMinds

July 21, 2007

Installing Ruby bindings for SVN on Ubuntu

Filed under: advanced-rails — shovan @ 10:02 pm

I just spent four painful hours :( trying to setup Collaboa on my Ubuntu box. I hope to share my findings hoping it will save you guys some time.

Collaboa is a collaborative tool for developers using Subversion. It is written in rails and lets you do repository browsing, track issues, manage milestone, and view changes.

First thing you need to get is the ruby bindings for subversion. Please do not try version 1.3.25. It just won’t work.

STEP 1
You can download the ruby bindings for subversion here .

tar xzvf swig-1.3.31.tar.gz<br />
cd ./swig-1.3.31<br />./configure<br />
make<br />sudo make install<br />

STEP 2
Download and install the latest version of Subversion

wget http://subversion.tigris.org/downloads/subversion-1.4.4.tar.gz
tar xzvf subversion-1.4.4.tar.gz
cd subversion-1.4.4
./configure --prefix=/usr/local --with-openssl --with-ssl --with-zlib
make <br />sudo make install

STEP 3
Now, install the Ruby subversion bindings

make swig-rb
sudo make install-swig-rb
sudo apt-get install libsvn-ruby

Then start irb and do a ‘require “svn/core” to find out if u were able to install swig-rb properly.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress