Ruby-1.8.2

Introduction to Ruby

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

Package information

Ruby dependencies

Installation of Ruby

Install Ruby by running the following commands:

./configure --prefix=/usr \
    --enable-shared --enable-pthread &&
make

Now, as the root user:

make install &&
make install-doc

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 Program: ruby, irb, erb, rdoc, ri and testrb
Installed Library: libruby.so
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-01-30 16:01:56 -0700