Product SiteDocumentation Site

11.3. Ruby

The standard search path for Ruby libraries, $:, has changed in accordance with the packaging guidelines. Changes were also made to some of the entries in Config::CONFIG in the rbconfig module. The most important changes include:
Directories that were previously in $: remain there for the time being, so that existing code, such as /usr/lib/site_ruby, does not need to be modified. These directories are deprecated though, and will be removed by the release of Fedora Core 8. Build Ruby RPM packages in accordance with the packaging guidelines. In particular, Ruby libraries should only be installed into sitelibdir and sitearchdir. You should also follow this rule for Ruby code that is not packaged as an RPM.