ckruse / CFPropertyList

Read, write and manipulate both binary and XML property lists as defined by apple
MIT License
212 stars 47 forks source link

uninitialized constant: StringIO #23

Closed dayglojesus closed 10 years ago

dayglojesus commented 10 years ago

I am seeing: this error /Library/Ruby/Gems/1.8/gems/CFPropertyList-2.2.1/lib/rbBinaryCFPropertyList.rb:23:in `load': uninitialized constant CFPropertyList::Binary::StringIO (NameError)

And after searching the CFPropertyList code it looks like this library is never required. I added:

require 'stringio'

To my own code that fixed it.

ckruse commented 10 years ago

Sorry that it took me so long to react, I was on a short trip over the week end.

Thanks for the report, this was a silly one. Fixed it in latest HEAD

dayglojesus commented 10 years ago

No worries. Thanks for the fix!