Chapter 3. Libraries and Runtime Support
36
3.3.8. Ruby
The ruby package provides the Ruby interpreter and adds support for the Ruby programming
language. The ruby-devel package contains the libraries and header files needed for developing
Ruby extensions.
Red Hat Enterprise Linux also ships with numerous ruby-related packages. By convention, the
names of these packages have a ruby or rubygem prefix or suffix. Such packages are either library
extensions or Ruby bindings to an existing library. For instance, ruby-dbus is a Ruby language
binding for D-Bus.
Examples of ruby-related packages include:
• ruby-flexmock
• rubygem-flexmock
• rubygems
• ruby-irb
• ruby-li/jointfilesconvert/280529/bguestfs
• ruby-libs
• ruby-qmf
• ruby-qpid
• ruby-rdoc
• ruby-ri
• ruby-saslwrapper
• ruby-static
• ruby-tcltk
For information about updates to the Ruby language in Red Hat Enterprise Linux 6, refer to the
following resources:
• file:///usr/share/doc/ruby-version/NEWS
• file:///usr/share/doc/ruby-version/NEWS-version
3.3.8.1. gem2rpm
When packaging architecture-dependent gems, the gem2rpm tool may not work as expected on a Red
Hat Enterprise Linux 6 default ruby environment. For information on how to work around this, refer to
http://fedoraproject.org/wiki/Packaging/Ruby#Ruby_Gems.
3.3.8.2. Ruby Documentation
For more information about Ruby, refer to man ruby. You can also install ruby-docs, which provides
HTML manuals and references in the following location:
file:///usr/share/doc/ruby-docs-version/
Commentaires sur ces manuels