OS X Mavericks
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.0.0]
I've tried without having the .dylib in /usr/lib so I know that it indeed tries to require the file.
I am getting this error:
`require': wrong argument type nil (expected Data) (TypeError)
from /Users/martin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from test.rb:1:in `<main>'
Thanks for helping,
PDFNetC only supports Ruby 1.9.1x. You may need to switch to Ruby 1.9.3 in order for the Ruby bindings to work.
Just confirmed this, thank you for the swift reply!
When will 2.0.0 be supported? It’s after all the standard version now.
FYI: We open sourced PDFNet SWIG bindings for Ruby, PHP, and Python so you should be able to compile a binding for Ruby 2+.
For more info see http://blog.pdftron.com/2014/02/28/pdf-sdk-bindings-for-php-python-and-ruby/