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 |
|
---|
7 | <!ENTITY ruby-download-http "http://rubyforge.org/download.php/262/ruby-&ruby-version;.tar.gz">
|
---|
8 | <!ENTITY ruby-download-ftp " ">
|
---|
9 | <!ENTITY ruby-size "2.6 MB">
|
---|
10 | <!ENTITY ruby-buildsize "36.2 MB">
|
---|
11 | <!ENTITY ruby-time "0.62 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="ruby" xreflabel="Ruby-&ruby-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="ruby.html"?>
|
---|
20 | <title>Ruby-&ruby-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application>Ruby</application></title>
|
---|
24 |
|
---|
25 | <para>The <application>Ruby</application> package contains the
|
---|
26 | <application>Ruby</application> development environment. This
|
---|
27 | is useful for object-oriented scripting.</para>
|
---|
28 |
|
---|
29 | <sect3><title>Package information</title>
|
---|
30 | <itemizedlist spacing='compact'>
|
---|
31 | <listitem><para>Download (HTTP): <ulink url="&ruby-download-http;"/></para></listitem>
|
---|
32 | <listitem><para>Download (FTP): <ulink url="&ruby-download-ftp;"/></para></listitem>
|
---|
33 | <listitem><para>Download size: &ruby-size;</para></listitem>
|
---|
34 | <listitem><para>Estimated disk space required: &ruby-buildsize;</para></listitem>
|
---|
35 | <listitem><para>Estimated build time: &ruby-time;</para></listitem></itemizedlist>
|
---|
36 | </sect3>
|
---|
37 |
|
---|
38 | <sect3><title><application>Ruby</application> dependencies</title>
|
---|
39 | <sect4><title>Optional</title>
|
---|
40 | <para><xref linkend="openssl"/>,
|
---|
41 | <xref linkend="tk"/>,
|
---|
42 | <xref linkend="db"/>,
|
---|
43 | <xref linkend="gdbm"/></para>
|
---|
44 | </sect4>
|
---|
45 | </sect3>
|
---|
46 |
|
---|
47 | </sect2>
|
---|
48 |
|
---|
49 | <sect2>
|
---|
50 | <title>Installation of <application>Ruby</application></title>
|
---|
51 |
|
---|
52 | <para>Install <application>Ruby</application> by running the following
|
---|
53 | commands:</para>
|
---|
54 |
|
---|
55 | <screen><userinput><command>./configure --prefix=/usr \
|
---|
56 | --enable-shared --enable-pthread &&
|
---|
57 | make &&
|
---|
58 | make install</command></userinput></screen>
|
---|
59 |
|
---|
60 | </sect2>
|
---|
61 |
|
---|
62 | <sect2>
|
---|
63 | <title>Command explanations</title>
|
---|
64 |
|
---|
65 | <para><parameter>--enable-shared</parameter>: This parameter builds the
|
---|
66 | <filename class='libraryfile'>libruby</filename> shared library.</para>
|
---|
67 |
|
---|
68 | <para><parameter>--enable-pthread</parameter>: This parameter links the
|
---|
69 | threading library into the <application>Ruby</application> build.</para>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2>
|
---|
74 | <title>Contents</title>
|
---|
75 |
|
---|
76 | <para>The <application>Ruby</application> package contains
|
---|
77 | <command>ruby</command>,
|
---|
78 | <command>irb</command>,
|
---|
79 | <command>erb</command>,
|
---|
80 | <command>rdoc</command>,
|
---|
81 | <command>ri</command>,
|
---|
82 | <command>testrb</command>,
|
---|
83 | <filename class='libraryfile'>libruby</filename> libraries and
|
---|
84 | numerous scripts and modules.</para>
|
---|
85 |
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2><title>Description</title>
|
---|
89 |
|
---|
90 | <sect3><title>ruby</title>
|
---|
91 | <para><command>ruby</command> is an interpreted scripting language for quick
|
---|
92 | and easy object-oriented programming.</para></sect3>
|
---|
93 |
|
---|
94 | <sect3><title>irb</title>
|
---|
95 | <para><command>irb</command> is the interactive interface for ruby.</para>
|
---|
96 | </sect3>
|
---|
97 |
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | </sect1>
|
---|
101 |
|
---|