mydocs

rbconfig

rubyのRbConfig::CONFIG情報を表示

$ rbconfig
       topdir:/usr
     build_os:linux-gnu
      host_os:linux-gnu
     host_cpu:x86_64
   includedir:/usr/include
       libdir:/usr/lib64
   rubylibdir:/usr/lib/ruby/1.8
      archdir:/usr/lib64/ruby/1.8/x86_64-linux
      htmldir:/usr/share/doc/$(PACKAGE)
       pdfdir:/usr/share/doc/$(PACKAGE)
  sitearchdir:/usr/local/lib64/site_ruby/1.8/x86_64-linux
vendorarchdir:/usr/lib64/ruby/vendor_ruby/1.8/x86_64-linux