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
facter-2.1.0 lib/facter/rubysitedir.rb
facter-2.1.0-x86-mingw32 lib/facter/rubysitedir.rb
facter-2.1.0-x64-mingw32 lib/facter/rubysitedir.rb
facter-2.1.0-universal-darwin lib/facter/rubysitedir.rb
facter-1.7.6 lib/facter/rubysitedir.rb
facter-2.0.2 lib/facter/rubysitedir.rb
facter-2.0.2-x86-mingw32 lib/facter/rubysitedir.rb
facter-2.0.2-universal-darwin lib/facter/rubysitedir.rb
facter-2.0.1 lib/facter/rubysitedir.rb
facter-2.0.1-x86-mingw32 lib/facter/rubysitedir.rb
facter-2.0.1-universal-darwin lib/facter/rubysitedir.rb
facter-2.0.1.rc4 lib/facter/rubysitedir.rb
facter-2.0.1.rc4-x86-mingw32 lib/facter/rubysitedir.rb
facter-2.0.1.rc4-universal-darwin lib/facter/rubysitedir.rb
facter-2.0.1.rc3 lib/facter/rubysitedir.rb
facter-2.0.1.rc3-x86-mingw32 lib/facter/rubysitedir.rb
facter-2.0.1.rc3-universal-darwin lib/facter/rubysitedir.rb
facter-2.0.1.rc2 lib/facter/rubysitedir.rb
facter-2.0.1.rc2-x86-mingw32 lib/facter/rubysitedir.rb
facter-2.0.1.rc2-universal-darwin lib/facter/rubysitedir.rb