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 " ">
|
---|
8 | <!ENTITY ruby-download-ftp "ftp://ftp.ruby-lang.org/pub/ruby/ruby-&ruby-version;.tar.gz">
|
---|
9 | <!ENTITY ruby-md5sum "8ffc79d96f336b80f2690a17601dea9b">
|
---|
10 | <!ENTITY ruby-size "3.5 MB">
|
---|
11 | <!ENTITY ruby-buildsize "36.2 MB">
|
---|
12 | <!ENTITY ruby-time "0.62 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="ruby-package" xreflabel="Ruby-&ruby-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="ruby.html"?>
|
---|
21 | <title>Ruby-&ruby-version;</title>
|
---|
22 | <indexterm zone="ruby-package"><primary sortas="a-Ruby">Ruby</primary></indexterm>
|
---|
23 |
|
---|
24 | <sect2>
|
---|
25 | <title>Introduction to <application>Ruby</application></title>
|
---|
26 |
|
---|
27 | <para>The <application>Ruby</application> package contains the
|
---|
28 | <application>Ruby</application> development environment. This
|
---|
29 | is useful for object-oriented scripting.</para>
|
---|
30 |
|
---|
31 | <sect3><title>Package information</title>
|
---|
32 | <itemizedlist spacing='compact'>
|
---|
33 | <listitem><para>Download (HTTP): <ulink url="&ruby-download-http;"/></para></listitem>
|
---|
34 | <listitem><para>Download (FTP): <ulink url="&ruby-download-ftp;"/></para></listitem>
|
---|
35 | <listitem><para>Download MD5 sum: &ruby-md5sum;</para></listitem>
|
---|
36 | <listitem><para>Download size: &ruby-size;</para></listitem>
|
---|
37 | <listitem><para>Estimated disk space required: &ruby-buildsize;</para></listitem>
|
---|
38 | <listitem><para>Estimated build time: &ruby-time;</para></listitem></itemizedlist>
|
---|
39 | </sect3>
|
---|
40 |
|
---|
41 | <sect3><title><application>Ruby</application> dependencies</title>
|
---|
42 | <sect4><title>Optional</title>
|
---|
43 | <para><xref linkend="openssl"/>,
|
---|
44 | <xref linkend="tk"/>,
|
---|
45 | <xref linkend="db"/>,
|
---|
46 | <xref linkend="gdbm"/></para>
|
---|
47 | </sect4>
|
---|
48 | </sect3>
|
---|
49 |
|
---|
50 | </sect2>
|
---|
51 |
|
---|
52 | <sect2>
|
---|
53 | <title>Installation of <application>Ruby</application></title>
|
---|
54 |
|
---|
55 | <para>Install <application>Ruby</application> by running the following
|
---|
56 | commands:</para>
|
---|
57 |
|
---|
58 | <screen><userinput><command>./configure --prefix=/usr \
|
---|
59 | --enable-shared --enable-pthread &&
|
---|
60 | make &&
|
---|
61 | make install &&
|
---|
62 | make install-doc</command></userinput></screen>
|
---|
63 |
|
---|
64 |
|
---|
65 | </sect2>
|
---|
66 |
|
---|
67 | <sect2>
|
---|
68 | <title>Command explanations</title>
|
---|
69 |
|
---|
70 | <para><parameter>--enable-shared</parameter>: This parameter builds the
|
---|
71 | <filename class='libraryfile'>libruby</filename> shared library.</para>
|
---|
72 |
|
---|
73 | <para><parameter>--enable-pthread</parameter>: This parameter links the
|
---|
74 | threading library into the <application>Ruby</application> build.</para>
|
---|
75 |
|
---|
76 | </sect2>
|
---|
77 |
|
---|
78 | <sect2>
|
---|
79 | <title>Contents</title>
|
---|
80 |
|
---|
81 | <segmentedlist>
|
---|
82 | <segtitle>Installed Program</segtitle>
|
---|
83 | <segtitle>Installed Library</segtitle>
|
---|
84 | <segtitle>Installed Scripts</segtitle>
|
---|
85 | <segtitle>Installed Directories</segtitle>
|
---|
86 | <seglistitem>
|
---|
87 | <seg>ruby</seg>
|
---|
88 | <seg>libruby.so</seg>
|
---|
89 | <seg>irb, erb, rdoc, ri and testrb</seg>
|
---|
90 | <seg>/usr/lib/ruby and /usr/share/ri</seg></seglistitem>
|
---|
91 | </segmentedlist>
|
---|
92 |
|
---|
93 | <variablelist>
|
---|
94 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
95 | <?dbfo list-presentation="list"?>
|
---|
96 |
|
---|
97 | <varlistentry id="ruby">
|
---|
98 | <term><command>ruby</command></term>
|
---|
99 | <listitem><para>is an interpreted scripting language for quick
|
---|
100 | and easy object-oriented programming.</para>
|
---|
101 | <indexterm zone="ruby-package ruby"><primary sortas="b-ruby">ruby</primary></indexterm>
|
---|
102 | </listitem>
|
---|
103 | </varlistentry>
|
---|
104 |
|
---|
105 | <varlistentry id="irb">
|
---|
106 | <term><command>irb</command></term>
|
---|
107 | <listitem><para>is the interactive interface for
|
---|
108 | <application>Ruby</application>.</para>
|
---|
109 | <indexterm zone="ruby-package irb"><primary sortas="d-irb">irb</primary></indexterm>
|
---|
110 | </listitem>
|
---|
111 | </varlistentry>
|
---|
112 |
|
---|
113 | <varlistentry id="erb">
|
---|
114 | <term><command>erb</command></term>
|
---|
115 | <listitem><para>is Tiny eRuby. It interprets a
|
---|
116 | <application>Ruby</application> code embedded text file.</para>
|
---|
117 | <indexterm zone="ruby-package erb"><primary sortas="d-erb">erb</primary></indexterm>
|
---|
118 | </listitem>
|
---|
119 | </varlistentry>
|
---|
120 |
|
---|
121 | <varlistentry id="ri">
|
---|
122 | <term><command>ri</command></term>
|
---|
123 | <listitem><para>displays documentation from a database on
|
---|
124 | <application>Ruby</application> classes, modules and methods.</para>
|
---|
125 | <indexterm zone="ruby-package ri"><primary sortas="d-ri">ri</primary></indexterm>
|
---|
126 | </listitem>
|
---|
127 | </varlistentry>
|
---|
128 |
|
---|
129 | <varlistentry id="libruby">
|
---|
130 | <term><filename role="library">libruby.so</filename></term>
|
---|
131 | <listitem><para>contains the <acronym>API</acronym> functions required
|
---|
132 | by <application>Ruby</application>.</para>
|
---|
133 | <indexterm zone="ruby-package libruby"><primary
|
---|
134 | sortas="c-libruby">libruby.so</primary></indexterm>
|
---|
135 | </listitem>
|
---|
136 | </varlistentry>
|
---|
137 |
|
---|
138 |
|
---|
139 | </variablelist>
|
---|
140 |
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | </sect1>
|
---|
144 |
|
---|