[PLDWWW] page added: playground:ruby

"Elan Ruusamäe (glen)" glen at pld-linux.org
Thu Mar 28 22:27:01 CET 2013


created

--- ---
+++ https://www.pld-linux.org/playground/ruby
====== Ruby packaging ======

Since [[http://git.pld-linux.org/?p=packages/ruby.git;a=shortlog;h=refs/heads/new-paths|ruby >= 1.9.3.392-2]] our Ruby supports noarch packages.

This also means that pld packages should put their modules into ''vendor'' dirs, and ''site'' dirs is for local installations (not to be packaged by rpm). ruby archdir and libdir are for ruby's own modules (packaged from ruby.spec), distro addon packages should not put their modules there. 

Here's overview of the paths:

^ rpm macro           ^ sample value ^
| %ruby_version       | 1.9 |
| %ruby_archdir       | /usr/lib64/ruby/1.9 |
| %ruby_libdir        | /usr/share/ruby/1.9 |
| %ruby_sitedir       | /usr/local/share/ruby/site_ruby |
| %ruby_sitearchdir   | /usr/local/lib64/ruby/site_ruby |
| %ruby_sitelibdir    | /usr/local/share/ruby/site_ruby/1.9 |
| %ruby_vendordir     | /usr/share/ruby/vendor_ruby |
| %ruby_vendorarchdir | /usr/lib64/ruby/vendor_ruby |
| %ruby_vendorlibdir  | /usr/share/ruby/vendor_ruby/1.9 |

Diff URL:
  ---
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list