Monday, January 17, 2011

wxRuby stopped working but gtk-ruby kept working after upgrading Ubuntu to 10.10

wxRuby suddenly stopped working.
This is perhaps due to my recent Ubuntu upgrade to 10.10.
$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'wx'
LoadError: cannot open shared object file: No such file or directory - /var/lib/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/
 from /var/lib/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/
 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
 from /var/lib/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wx.rb:12
 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require'
 from (irb):2

Gtk-ruby seems working fine.

I will not be going back to wxRuby for a while, perhaps never.
It is not good if app stops working every time users upgrade their OS.

No comments:

Post a Comment