Tagged ruby.xml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3990 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Manuel Canales Esparcia 2005-05-05 20:20:01 +00:00
parent 42a04581f6
commit 16f3afb37b

View File

@ -13,65 +13,76 @@
]> ]>
<sect1 id="ruby" xreflabel="Ruby-&ruby-version;"> <sect1 id="ruby" xreflabel="Ruby-&ruby-version;">
<?dbhtml filename="ruby.html"?>
<sect1info> <sect1info>
<othername>$LastChangedBy$</othername> <othername>$LastChangedBy$</othername>
<date>$Date$</date> <date>$Date$</date>
</sect1info> </sect1info>
<?dbhtml filename="ruby.html"?>
<title>Ruby-&ruby-version;</title>
<indexterm zone="ruby">
<primary sortas="a-Ruby">Ruby</primary></indexterm>
<sect2> <title>Ruby-&ruby-version;</title>
<title>Introduction to <application>Ruby</application></title>
<indexterm zone="ruby">
<primary sortas="a-Ruby">Ruby</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Ruby</title>
<para>The <application>Ruby</application> package contains the <para>The <application>Ruby</application> package contains the
<application>Ruby</application> development environment. This <application>Ruby</application> development environment. This
is useful for object-oriented scripting.</para> is useful for object-oriented scripting.</para>
<sect3><title>Package information</title> <bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing='compact'> <itemizedlist spacing="compact">
<listitem><para>Download (HTTP): <listitem>
<ulink url="&ruby-download-http;"/></para></listitem> <para>Download (HTTP): <ulink url="&ruby-download-http;"/></para>
<listitem><para>Download (FTP): </listitem>
<ulink url="&ruby-download-ftp;"/></para></listitem> <listitem>
<listitem><para>Download MD5 sum: &ruby-md5sum;</para></listitem> <para>Download (FTP): <ulink url="&ruby-download-ftp;"/></para>
<listitem><para>Download size: &ruby-size;</para></listitem> </listitem>
<listitem><para>Estimated disk space required: <listitem>
&ruby-buildsize;</para></listitem> <para>Download MD5 sum: &ruby-md5sum;</para>
<listitem><para>Estimated build time: </listitem>
&ruby-time;</para></listitem></itemizedlist> <listitem>
</sect3> <para>Download size: &ruby-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &ruby-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &ruby-time;</para>
</listitem>
</itemizedlist>
<sect3><title><application>Ruby</application> dependencies</title> <bridgehead renderas="sect3">Ruby Dependencies</bridgehead>
<sect4><title>Optional</title>
<bridgehead renderas="sect4">Optional</bridgehead>
<para><xref linkend="openssl"/>, <para><xref linkend="openssl"/>,
<xref linkend="tk"/>, <xref linkend="tk"/>,
<xref linkend="db"/>, <xref linkend="db"/>,
<xref linkend="gdbm"/></para> <xref linkend="gdbm"/></para>
</sect4>
</sect3>
</sect2> </sect2>
<sect2> <sect2 role="installation">
<title>Installation of <application>Ruby</application></title> <title>Installation of Ruby</title>
<para>Install <application>Ruby</application> by running the following <para>Install <application>Ruby</application> by running the following
commands:</para> commands:</para>
<screen><userinput><command>./configure --prefix=/usr --enable-shared \ <screen><userinput>./configure --prefix=/usr --enable-shared \
--enable-pthread --enable-install-doc &amp;&amp; --enable-pthread --enable-install-doc &amp;&amp;
make</command></userinput></screen> make</userinput></screen>
<para>Now, as the root user:</para> <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen><userinput role='root'><command>make install</command></userinput></screen> <screen role="root"><userinput>make install</userinput></screen>
</sect2> </sect2>
<sect2> <sect2 role="commands">
<title>Command explanations</title> <title>Command Explanations</title>
<para><parameter>--enable-shared</parameter>: This parameter builds the <para><parameter>--enable-shared</parameter>: This parameter builds the
<filename class='libraryfile'>libruby</filename> shared library.</para> <filename class='libraryfile'>libruby</filename> shared library.</para>
@ -81,68 +92,82 @@ threading library into the <application>Ruby</application> build.</para>
</sect2> </sect2>
<sect2> <sect2 role="content">
<title>Contents</title> <title>Contents</title>
<segmentedlist> <segmentedlist>
<segtitle>Installed Programs</segtitle> <segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle> <segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle> <segtitle>Installed Directories</segtitle>
<seglistitem> <seglistitem>
<seg>ruby, irb, erb, rdoc, ri and testrb</seg> <seg>ruby, irb, erb, rdoc, ri, and testrb</seg>
<seg>libruby.so and numerous modules located in the <seg>libruby.so and numerous modules located in the
<filename class='directory'>/usr/lib/ruby</filename> hierarchy.</seg> <filename class='directory'>/usr/lib/ruby</filename> hierarchy.</seg>
<seg>/usr/lib/ruby and /usr/share/ri</seg></seglistitem> <seg>/usr/lib/ruby and /usr/share/ri</seg>
</seglistitem>
</segmentedlist> </segmentedlist>
<variablelist> <variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead> <bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?> <?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="ruby-prog"> <varlistentry id="ruby-prog">
<term><command>ruby</command></term> <term><command>ruby</command></term>
<listitem><para>is an interpreted scripting language for quick <listitem>
<para>is an interpreted scripting language for quick
and easy object-oriented programming.</para> and easy object-oriented programming.</para>
<indexterm zone="ruby ruby-prog"> <indexterm zone="ruby ruby-prog">
<primary sortas="b-ruby">ruby</primary></indexterm> <primary sortas="b-ruby">ruby</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="irb"> <varlistentry id="irb">
<term><command>irb</command></term> <term><command>irb</command></term>
<listitem><para>is the interactive interface for <listitem>
<para>is the interactive interface for
<application>Ruby</application>.</para> <application>Ruby</application>.</para>
<indexterm zone="ruby irb"> <indexterm zone="ruby irb">
<primary sortas="b-irb">irb</primary></indexterm> <primary sortas="b-irb">irb</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="erb"> <varlistentry id="erb">
<term><command>erb</command></term> <term><command>erb</command></term>
<listitem><para>is Tiny eRuby. It interprets a <listitem>
<para>is Tiny eRuby. It interprets a
<application>Ruby</application> code embedded text file.</para> <application>Ruby</application> code embedded text file.</para>
<indexterm zone="ruby erb"> <indexterm zone="ruby erb">
<primary sortas="b-erb">erb</primary></indexterm> <primary sortas="b-erb">erb</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="ri"> <varlistentry id="ri">
<term><command>ri</command></term> <term><command>ri</command></term>
<listitem><para>displays documentation from a database on <listitem>
<para>displays documentation from a database on
<application>Ruby</application> classes, modules and methods.</para> <application>Ruby</application> classes, modules and methods.</para>
<indexterm zone="ruby ri"> <indexterm zone="ruby ri">
<primary sortas="b-ri">ri</primary></indexterm> <primary sortas="b-ri">ri</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="libruby"> <varlistentry id="libruby">
<term><filename role="library">libruby.so</filename></term> <term><filename role="library">libruby.so</filename></term>
<listitem><para>contains the <acronym>API</acronym> functions required <listitem>
<para>contains the <acronym>API</acronym> functions required
by <application>Ruby</application>.</para> by <application>Ruby</application>.</para>
<indexterm zone="ruby libruby"> <indexterm zone="ruby libruby">
<primary sortas="c-libruby">libruby.so</primary></indexterm> <primary sortas="c-libruby">libruby.so</primary>
</indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</sect2> </sect2>