Ruby-1.8.2

Introduction to Ruby

The Ruby package contains the Ruby development environment. This is useful for object-oriented scripting.

Package Information

Additional Downloads

Ruby Dependencies

Optional

OpenSSL-0.9.7g, Tk-8.4.11, Berkeley DB-4.3.28 and GDBM-1.8.3

Installation of Ruby

Install Ruby by running the following commands:

patch -Np1 -i ../ruby-1.8.2-xmlrpc-ipimethods-fix.diff &&
./configure --prefix=/usr --enable-shared \
    --enable-pthread --enable-install-doc &&
make

To test the results, issue: make test.

Now, as the root user:

make install

Command Explanations

--enable-shared: This parameter builds the libruby shared library.

--enable-pthread: This parameter links the threading library into the Ruby build.

Contents

Installed Programs: ruby, irb, erb, rdoc, ri, and testrb
Installed Libraries: libruby.so and numerous modules located in the /usr/lib/ruby hierarchy.
Installed Directories: /usr/lib/ruby and /usr/share/ri

Short Descriptions

ruby

is an interpreted scripting language for quick and easy object-oriented programming.

irb

is the interactive interface for Ruby.

erb

is Tiny eRuby. It interprets a Ruby code embedded text file.

ri

displays documentation from a database on Ruby classes, modules and methods.

libruby.so

contains the API functions required by Ruby.

Last updated on 2005-08-09 19:50:01 -0600