From: Alex Fenton Date: 2008-05-10T20:10:10+09:00 Subject: Re: [Mac OS X] rubygems and wxRuby Une B�vue wrote: > i've installed wxruby by gem: > $ sudo gem install wxruby > then i wonder why i didn't get the latest version... > i'll uninstall and re-install after download. What version of OS X are you using? > also at the time being i get : > ruby > /opt/local/lib/ruby/gems/1.8/gems/wxruby-1.9.3-universal-darwin/samples/ > minimal/minimal.rb > dyld: NSLinkModule() error > dyld: Library not loaded: /usr/lib/libiconv.2.dylib > Referenced from: > /opt/local/lib/ruby/gems/1.8/gems/wxruby-1.9.3-universal-darwin/lib/wxru > by2.bundle > Reason: Incompatible library version: wxruby2.bundle requires version > 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0 > zsh: trace trap ruby This may be part of the same problem. > for those reasons i think it's best for me to compile wxruby ? Maybe, it's not hard if you have XCode installed. Unless you want to use advanced features like OpenGL or Scintilla, you just compile wxWidgets (./configure; make; make install) and then wxRuby (rake; then either rake install or rake gem) http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource http://wxruby.rubyforge.org/wiki/wiki.pl?HowToBuildWxWidgets a