Issue #15145 has been reported by Chilly Cold.
----------------------------------------
Bug #15145: rubysitedir fact / Ruby path not detected with Ruby 1.9.3
https://projects.puppetlabs.com/issues/15145
Author: Chilly Cold
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Keywords:
Branch:
Affected Facter version:
I've found that the rubysitedir fact is not available anymore in Fedora 17 and
probably other nix systems running ruby 1.9.3.
Looking at the rubysitedir.rb I see :
Facter.add :rubysitedir do
setcode do
version = RUBY_VERSION.to_s.sub(/\.\d+$/, '')
$:.find do |dir|
dir =~ /#{File.join("site_ruby", version)}$/
end
end
end
Meaning it's looking for a path containing "site_ruby" which doesn't exist
anymore with ruby 1.9.3. It seems to be now located in /usr/share/ruby/...
Has someone a workaround or a patch for that ?
Thanks
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.