OS X Snow Leopard + wxRuby 2.0.1 gem - WORKING

Alex Fenton
2010-07-07T09:40:21Z

Hi

It is possible to use the standard wxRuby 2.0.1 gem with the standard
system ruby in /usr/bin/ruby in OS X 10.6

1) download the gem

http://rubyforge.org/frs/download.php/63386/wxruby-2.0.1-universal-darwin-9.gem

2) install it from the downloaded file

sudo gem install wxruby-2.0.1-universal-darwin-9.gem

3) run ruby like this, forcing 32-bit mode

arch -i386 ruby -rubygems <scriptfile.rb>


Have tested with a couple of samples and this works fine. Appreciate any
feedback. Of course, we are still aiming to get full compatibility, but
for various reasons this is quite difficult.

Thanks to some advice on this page (comment #4)
http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard

alex