Installing Ruby SVN bindings

Oct 25, 2005 0 comments

I spent three days off and on (mostly off) trying to figure this out, so I thought it would be nice to lay out the process. I wanted to install Collaboa, a useful Rails webapp for developing with Subversion online that is similar to Trac. In order to get it working there is one important dependency: the Ruby SVN bindings. Here’s how I got it to work (at least on OS X):

  • Download swig-1.3.25 (the version here is crucial, do not get the latest version)
  • Untar/zip the package, cd into the directory, and execute
    • ./configure
    • make
    • sudo make install
  • Download the latest source of Subversion
  • Untar/zip the package, cd into the directory, and execute
    • ./configure
    • make
    • sudo make install
  • Still in the subversion top-level directory execute
    • make swig-rb
    • make check-swig-rb
    • sudo make install-swig-rb

That should take care of it, but in order to make sure everything is installed correctly, open up irb and type require 'svn/core'. If irb returns true you’re all set!

0 comments


Sorry, comments have been closed for this post.