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 PaulWFrields: http://fedoraproject.org/wiki/Docs/Beats/Devel The comment on the change is: Editorial pass ------------------------------------------------------------------------------ ## page was renamed from Docs/Beats/DevelTools - = Developer Tools = + = Development = - This section covers various developer tools. + This section covers various development tools and features. [[Include(/Runtime)]] [[Include(/Tools)]] == Ruby == - The standard search path for ruby libraries ($:) has changed in accordance with [:Packaging/Ruby:the packaging guidelines]. This includes changes to some of the entries in `Config::CONFIG` in the rbconfig module. The most important changes are + 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`, i.e. instead of `/usr/lib/site_ruby` they are underneath `/usr/lib/ruby/site_ruby` + * `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 alwys under `/usr/lib`, even on x86_64 (where they used to be under `/usr/lib64`) This affects the `Config::CONFIG` entries `rubylibdir` and `sitelibdir` + * 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 does not need to be modified (such as `/usr/lib/site_ruby`). They are deprecated though, and will be removed for FC8. Ruby RPM's should be built in accordance with the [:Packaging/Ruby:the packaging guidelines]. In particular, ruby libraries should only be installed into `sitelibdir` and `sitearchdir`; the latter should also be followe d for Ruby code that is not packaged as an RPM. + 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 [: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.