From: Martin DeMello Date: 2010-05-28T23:15:27+09:00 Subject: Re: what 's wrong with my fxruby? On Thu, May 6, 2010 at 9:29 AM, Pen Ttt wrote: > pt@pt-laptop:~$ sudo gem install fxruby > Successfully installed fxruby-1.6.20-x86-linux > 1 gem installed > Installing ri documentation for fxruby-1.6.20-x86-linux... > Updating class cache with 2834 classes... > Installing RDoc documentation for fxruby-1.6.20-x86-linux... > pt@pt-laptop:~$ irb > irb(main):001:0> require 'fox16' > LoadError: > /usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.so: > undefined symbol: rb_thread_pending - Resurrecting this thread because I faced the same issue - the solution is simply to go to fxruby's rubyforge download page: http://rubyforge.org/frs/?group_id=300&release_id=41247 And download fxruby-1.6.20-gem (the one labelled "any" rather than "linux"). Manually downloading and installing this will recompile the extension from source against ruby 1.9, rather than using the fxruby-linux gem which is presumably compiled against ruby 1.8. martin > /usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.so >  from > /usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.rb:6:in > `require' >  from > /usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.rb:6:in > `' >  from (irb):1:in `require' >  from (irb):1 >  from /usr/local/ruby/bin/irb:12:in `
' > irb(main):002:0> > -- > Posted via http://www.ruby-forum.com/. > >