From: kazaam Date: 2007-08-23T01:20:03+09:00 Subject: wxruby and rubygems seems not to work? Like here: http://wxruby.rubyforge.org/wiki/wiki.pl?Installation suggested I installed wxruby2 on my linux machine with: sudo gem install wxruby2-preview Then I tried this sample: http://wxruby.rubyforge.org/wiki/wiki.pl?Getting_Started , I modified it to run for me: #!/usr/bin/env ruby $Verbose=true require 'rubygems' gem 'wxruby2-preview' class MinimalApp < App def on_init Frame.new(nil, -1, "The Bare Minimum").show() end end MinimalApp.new.main_loop but always when I execute it I'm getting this error: laptop:~/Desktop$ ./gui.rb ./gui.rb:9: uninitialized constant App (NameError) laptop:~/Desktop$ My machine is an Ubuntu feisty fawn and gem: 0.9.0 ruby: 1.8.5 (2006-08-25) [i486-linux] wxruby2-preview: 0.0.40 . What did I wrong?!? Can someone point me to my mistake? Is there a difference between wxruby2-preview and wxruby2? But there is no wxruby2 gem just this -preview one? bye -- kazaam