Sha256: 8a6e75cf7a24cf8921430978133e4172a004153411ca60379da8028518d03554

Contents?: true

Size: 180 Bytes

Versions: 50

Compression:

Stored size: 180 Bytes

Contents

# Fact: rubysitedir
#
# Purpose: Returns Ruby's site library directory.
#

require 'rbconfig'

Facter.add :rubysitedir do
  setcode do
    RbConfig::CONFIG["sitelibdir"]
  end
end

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/facter-1.6.17/lib/facter/rubysitedir.rb
facter-1.6.17 lib/facter/rubysitedir.rb
facter-1.6.17.rc1 lib/facter/rubysitedir.rb
facter-1.6.16 lib/facter/rubysitedir.rb
facter-1.6.15 lib/facter/rubysitedir.rb
facter-1.6.15.rc1 lib/facter/rubysitedir.rb
facter-1.6.14 lib/facter/rubysitedir.rb
facter-1.6.14.rc1 lib/facter/rubysitedir.rb
facter-1.6.13 lib/facter/rubysitedir.rb
facter-1.6.13.rc1 lib/facter/rubysitedir.rb