Chapter 11. Using XML-RPC with Ruby

Table of Contents
A Ruby Client
A Ruby Server

(This section of the XML-RPC HOWTO was generously provided by Michael Neumann.)

Ruby is an object-oriented scripting language. It already has a major following in Japan, and it's becoming popular elsewhere.

To use XML-RPC with Ruby, you must first install Yoshida Masato's xmlparser module (a wrapper for James Clark's expat parser). This can be found at the Ruby Application Archive.

Then, you must install xmlrpc4r using the following commands:

    bash$ tar -xvzf xmlrpc4r-1_2.tar.gz
    bash$ cd xmlrpc4r-1_2
    bash$ su root -c "ruby install.rb"