Skip to content

Instantly share code, notes, and snippets.

@ccaviness
Created June 26, 2013 20:03
Show Gist options
  • Save ccaviness/5871111 to your computer and use it in GitHub Desktop.
Save ccaviness/5871111 to your computer and use it in GitHub Desktop.
$ ruby -e "require 'facter'; require 'facter/util/plist'; puts ['foo'].to_plist(false)"
<array>
<string>foo</string>
</array>
$ ruby -e "require 'facter'; require 'facter/util/cfpropertylist'; puts ['foo'].to_plist(false)"
/Library/Ruby/Site/1.8/facter/util/cfpropertylist/lib/rbCFPropertyList.rb:372:in `to_plist': undefined method `[]' for false:FalseClass (NoMethodError)
from -e:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment