[relnotes] [Fedora Project Wiki] Update of "Docs/Beats/Devel" by BobJensen
fedorawiki-noreply at fedoraproject.org
fedorawiki-noreply at fedoraproject.org
Tue Mar 13 04:13:47 UTC 2007
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Fedora Project Wiki" for change notification.
The following page has been changed by BobJensen:
http://fedoraproject.org/wiki/Docs/Beats/Devel?action=diff&rev2=18&rev1=17
------------------------------------------------------------------------------
[[Include(/Runtime)]]
[[Include(/Tools)]]
- = Ruby =
-
- The standard search path for Ruby libraries, `$:`, has changed in accordance with [:Packaging/Ruby:the packaging guidelines]. Changes were also made to some of the entries in `Config::CONFIG` in the `rbconfig` module. The most important changes include:
-
- * `sitedir` and related directories (`sitelibdir`, `sitearchdir`) are now under `rubylibdir`. Instead of `/usr/lib/site_ruby` they are underneath `/usr/lib/ruby/site_ruby`.
- * The directories for architecture-independent pure Ruby code are always under `/usr/lib`, even on x86_64 architecture, where they used to be under `/usr/lib64`. This change affects the `Config::CONFIG` entries `rubylibdir` and `sitelibdir`.
-
- 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 * 8. Build Ruby RPM packages in accordance with [:Packaging/Ruby: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.
-
More information about the Fedora-relnotes-content
mailing list