Monday, August 11, 2008

SVN 1.5.1 / Ruby bindings on Windows

Rather than messing around with compiling swig bindings etc:

  1. Download the ruby bindings from the svn site: (http://subversion.tigris.org/files/documents/15/43245/svn-win32-1.5.1_rb.zip)

  2. From the zip - copy ruby\lib\svn into c:\ruby\lib\ruby\site_ruby\1.8\svn

  3. From the zip – copy ruby\ext\svn\ext into c:\ruby\lib\ruby\site_ruby\1.8\svn\ext

  4. copy libeay32.dll and ssleay32.dll from your subversion 1.5 directory into c:\ruby\bin

  5. run irb and test with: require ‘svn/core’