Issue #15145 has been updated by Matthaus Owens. Status changed from Merged - Pending Release to Closed
Released in Facter 1.7.0 ---------------------------------------- Bug #15145: rubysitedir fact / Ruby path not detected with Ruby 1.9.3 https://projects.puppetlabs.com/issues/15145#change-89614 * Author: Chilly Cold * Status: Closed * Priority: Normal * Assignee: * Category: * Target version: 1.7.0 * Keywords: * Branch: https://github.com/puppetlabs/facter/pull/245 * 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
