Issue #9593 has been updated by Ken Barber. Status changed from Unreviewed to In Topic Branch Pending Merge Assignee set to Ken Barber Target version set to 1.6.x Branch set to kbarber/facter/ticket/9593-json_output
Added rubygems to json load block. ---------------------------------------- Bug #9593: json output doesn't work in ruby 1.8.7 https://projects.puppetlabs.com/issues/9593 Author: Ken Barber Status: In Topic Branch Pending Merge Priority: Low Assignee: Ken Barber Category: binary Target version: 1.6.x Keywords: json, rubygems Branch: kbarber/facter/ticket/9593-json_output Affected Facter version: 1.6.1rc3 Even when one has the 'json' gem, json output still doesn't work. kbarber:facter ken$ ./bin/facter --json You do not have JSON support in your version of Ruby. JSON output disabled This is due to the lack of "require 'rubygems'" in the appropriate place. This works fine in ruby-1.9.2 since rubygems is core in that version. -- 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.
