Ruby-1.8.6-p111

Introduction to Ruby

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

Package Information

Ruby Dependencies

Optional

OpenSSL-0.9.8g, Tk-8.4.18, and GDBM-1.8.3

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/ruby

Installation of Ruby

Install Ruby by running the following commands:

./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, libruby-static.a 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 2007-12-22 14:27:55 -0600