wxRuby 2.0.0 problem


#1

Hi all,

I’m having a problem getting the new wxRuby 2.0.0 to work. I’m using
64-bit Linux (Fedora) and I initially downloaded the pre-built 64-bit
file which didn’t work, so I gave up on that.

I decided to download the source file and compile that instead, based on
my recent experiences with 1.9.8 (see ‘Problems running samples’) and
all the help I received from Alex and Mario.

I ran ‘rake clean’ and ‘rake clean_src’ beforehand and then ‘rake gem
WXRUBY_VERSION=2.0.0’. This set the compiler going. I then entered ‘sudo
gem install wxruby-2.0.0-x86_64-linux.gem’.

Let’s see if that works…

$ ruby minimal.rb

/home/russell/.gem/ruby/1.8/gems/wxruby-2.0.0-x86_64-linux/lib/wx/classes/app.rb:16:
[BUG] Segmentation fault
ruby 1.8.6 (2008-08-11) [x86_64-linux]

/usr/libexec/wxruby: No such file or directory.

Obviously it didn’t work. :frowning:

I’ve attached a text file from Bug Buddy if it’s useful.

Any help would be gratefully appreciated.


#2

Just thought I’d better add that I’ve now fixed the problem (which was
my from own doing), after some investigation.

At some stage I must have entered ‘gem install…’ instead of ‘sudo gem
install…’ which created a gem in my home folder and seemed to confuse
things.

After deleting the .gem folder and its contents from my home folder, it
worked.