Hi guys!
I installed gosu through:
> sudo gem install gosu
But when I try to run any example I get:
/opt/local/lib/ruby/gems/1.8/gems/gosu-0.7.11-universal-darwin/lib/gosu.bundle: dlopen(/opt/local/lib/ruby/gems/1.8/gems/gosu-0.7.11-universal-darwin/lib/gosu.bundle, 9): Library not loaded: /usr/lib/libruby.1.dylib (LoadError)
Referenced from: /opt/local/lib/ruby/gems/1.8/gems/gosu-0.7.11-universal-darwin/lib/gosu.bundle
Reason: image not found - /opt/local/lib/ruby/gems/1.8/gems/gosu-0.7.11-universal-darwin/lib/gosu.bundle
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from CptnRuby.rb:35
I really do not know exactly why is it, but I installed ruby completely from Port so maybe there is some static linking or something. Maybe building from source would help (I'll try it as soon as boost will compile), but maybe you could help?
Best regards,
Roman