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,
Martin