[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[e619d74] | 7 | <!ENTITY ruby-download-http " ">
|
---|
| 8 | <!ENTITY ruby-download-ftp "ftp://ftp.ruby-lang.org/pub/ruby/ruby-&ruby-version;.tar.gz">
|
---|
[35a9977] | 9 | <!ENTITY ruby-md5sum "8ffc79d96f336b80f2690a17601dea9b">
|
---|
[e619d74] | 10 | <!ENTITY ruby-size "3.5 MB">
|
---|
[4ba4e7c] | 11 | <!ENTITY ruby-buildsize "36.2 MB">
|
---|
| 12 | <!ENTITY ruby-time "0.62 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[35a9977] | 15 | <sect1 id="ruby-package" xreflabel="Ruby-&ruby-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[19aa75a] | 20 | <?dbhtml filename="ruby.html"?>
|
---|
[13f51bbc] | 21 | <title>Ruby-&ruby-version;</title>
|
---|
[a1f7daa] | 22 |
|
---|
[52d29f7] | 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application>Ruby</application></title>
|
---|
[4ba4e7c] | 25 |
|
---|
[52d29f7] | 26 | <para>The <application>Ruby</application> package contains the
|
---|
| 27 | <application>Ruby</application> development environment. This
|
---|
| 28 | is useful for object-oriented scripting.</para>
|
---|
[4ba4e7c] | 29 |
|
---|
[52d29f7] | 30 | <sect3><title>Package information</title>
|
---|
| 31 | <itemizedlist spacing='compact'>
|
---|
| 32 | <listitem><para>Download (HTTP): <ulink url="&ruby-download-http;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download (FTP): <ulink url="&ruby-download-ftp;"/></para></listitem>
|
---|
[35a9977] | 34 | <listitem><para>MD5 Sum: &ruby-md5sum;</para></listitem>
|
---|
[52d29f7] | 35 | <listitem><para>Download size: &ruby-size;</para></listitem>
|
---|
[4ba4e7c] | 36 | <listitem><para>Estimated disk space required: &ruby-buildsize;</para></listitem>
|
---|
[52d29f7] | 37 | <listitem><para>Estimated build time: &ruby-time;</para></listitem></itemizedlist>
|
---|
| 38 | </sect3>
|
---|
[4ba4e7c] | 39 |
|
---|
| 40 | <sect3><title><application>Ruby</application> dependencies</title>
|
---|
| 41 | <sect4><title>Optional</title>
|
---|
| 42 | <para><xref linkend="openssl"/>,
|
---|
| 43 | <xref linkend="tk"/>,
|
---|
| 44 | <xref linkend="db"/>,
|
---|
| 45 | <xref linkend="gdbm"/></para>
|
---|
| 46 | </sect4>
|
---|
| 47 | </sect3>
|
---|
| 48 |
|
---|
[52d29f7] | 49 | </sect2>
|
---|
| 50 |
|
---|
| 51 | <sect2>
|
---|
| 52 | <title>Installation of <application>Ruby</application></title>
|
---|
[4ba4e7c] | 53 |
|
---|
| 54 | <para>Install <application>Ruby</application> by running the following
|
---|
| 55 | commands:</para>
|
---|
| 56 |
|
---|
| 57 | <screen><userinput><command>./configure --prefix=/usr \
|
---|
| 58 | --enable-shared --enable-pthread &&
|
---|
[52d29f7] | 59 | make &&
|
---|
| 60 | make install</command></userinput></screen>
|
---|
[4ba4e7c] | 61 |
|
---|
| 62 | </sect2>
|
---|
| 63 |
|
---|
| 64 | <sect2>
|
---|
| 65 | <title>Command explanations</title>
|
---|
| 66 |
|
---|
| 67 | <para><parameter>--enable-shared</parameter>: This parameter builds the
|
---|
| 68 | <filename class='libraryfile'>libruby</filename> shared library.</para>
|
---|
| 69 |
|
---|
| 70 | <para><parameter>--enable-pthread</parameter>: This parameter links the
|
---|
| 71 | threading library into the <application>Ruby</application> build.</para>
|
---|
| 72 |
|
---|
[52d29f7] | 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2>
|
---|
| 76 | <title>Contents</title>
|
---|
[35a9977] | 77 | <segmentedlist>
|
---|
| 78 | <segtitle>Installed Programs</segtitle>
|
---|
| 79 | <segtitle>Installed Library</segtitle>
|
---|
| 80 | <segtitle>Installed Directory</segtitle>
|
---|
| 81 | <seglistitem>
|
---|
| 82 | <seg>ruby, irb, erb, rdoc, ri, and testrb.</seg>
|
---|
| 83 | <seg>librudy.so</seg>
|
---|
| 84 | <seg>/usr/lib/ruby</seg></seglistitem>
|
---|
| 85 | </segmentedlist>
|
---|
| 86 |
|
---|
| 87 | <variablelist>
|
---|
| 88 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 89 | <?dbfo list-presentation="list"?>
|
---|
| 90 |
|
---|
| 91 | <varlistentry id="ruby">
|
---|
| 92 | <term><command>rudy</command></term>
|
---|
| 93 | <listitem><para>is an interpreted scripting language for quick
|
---|
| 94 | and easy object-oriented programming.</para></listitem>
|
---|
| 95 | </varlistentry>
|
---|
| 96 |
|
---|
| 97 | <varlistentry id="irb">
|
---|
| 98 | <term><command>irb</command></term>
|
---|
| 99 | <listitem><para>is the interactive interface for ruby.</para></listitem>
|
---|
| 100 | </varlistentry>
|
---|
| 101 | </variablelist>
|
---|
[4ba4e7c] | 102 |
|
---|
[52d29f7] | 103 | </sect2>
|
---|
[a1f7daa] | 104 |
|
---|
| 105 | </sect1>
|
---|
| 106 |
|
---|