All of the source code for FXRuby is available for anonymous, read-only Subversion access. This chapter describes how to check out the sources for the development release of FXRuby and then build FXRuby from those sources. The information in this chapter builds on the basic Subversion instructions provided for any RubyForge hosted project, and specifically those instructions for the FXRuby project hosted at RubyForge.
There are some prerequisites. Obviously, you're going to need to have some kind of Subversion client installed on your system and have a clue about how to use it to check out code from a remote repository. Please do not send me questions about how to install or use Subversion. A good starting point for documentation about Subversion is the home page, and especially the book.
You're also going to need to have a working SWIG installation so that you can generate the C++ source files from the SWIG interface files. As of this writing, FXRuby requires SWIG version 1.3.22; later versions of SWIG will not work, nor will versions earlier than about 1.3.15.
To check out the development version (i.e. the trunk) for FXRuby, type the following command:
svn checkout svn://rubyforge.org/var/svn/fxruby/trunk/FXRuby
Next, you'll need to use SWIG to generate the C++ source code from the SWIG interface files. To do that, type:
rake swig
At this point, you should be ready to change to the top-level directory and go through the normal build and installation process, as described in an earlier chapter.