i followed the way of install wxruby by gem method… but not works for
I search and download by sourgeforge and install the downloaded gem
(2.0.1), but the installation works… but really not in fact… when
try to use it in ruby code:
9): no suitable image found. Did find: (LoadError)
no matching architecture in universal wrapper -
require' from /Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wx.rb:12 from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:116:ingem_original_require’
so… i search on my osx-10.6.8 system and see that it is really like
have no sense:
"> which -a ruby
=> /usr/bin//ruby (i’ve tryed to rm and ln this for take of the double
/, but always same result… i don’t understand what’s happen here…)
which -a gem
gem env | grep ‘RUBY EXECUTABLE’
- RUBY EXECUTABLE:
sudo find / -name “rubygems” -print
=> /Applications/programmation/Aptana Studio
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
so… i no understand nothing.
i search on the google (who gives me lot of old link like 2009 posts)
and never find somethng clear for me or which can resolve my poroblem.
I think i have many ruby (two versus, 1.9.2 and official apple
1.8.something), many gems files… everywhere… looks like it is not my
computer and i don’t know how to erase all the bad ruby and gems for
only have the right ruby and gems and also wxruby module working simply.
lot of time used and lose to follow a way (gem install or port install
mode) without having great result, but only have more wrong thinks
everywhere (incredible !).
is there someone here able to help me for erase all this bullshit and
make a great hand installation of ruby and wxruby (and rubygem if works)