Issue #9593 has been reported by Ken Barber.
----------------------------------------
Bug #9593: json output doesn't work in ruby 1.8.7
https://projects.puppetlabs.com/issues/9593
Author: Ken Barber
Status: Unreviewed
Priority: Low
Assignee:
Category: binary
Target version:
Keywords: json, rubygems
Branch:
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.