I received an e-mail today about this article that alerted me to some changes to wxRuby since I wrote this article (over a year ago! How time flies).
The most breaking change is that wxRuby, for reasons known but to God, changed the header name from 'wxruby' to 'wx'. Thus, the code should now read
require 'wx'
The sample code distributed with the latest wxRuby package is a good place to start. I noticed that they do some fairly fancy stuff with RubyGems:
begin
require 'wx'
rescue LoadError => no_wx_err
begin
require 'rubygems'
require 'wx'
rescue LoadError
raise no_wx_err
end
end
include Wx
That code will automatically install the wxRuby library if it's not installed. To install wxRuby manually, you can just type
gem install wxruby
Of course, both of these methods assume that RubyGems is installed (if not, well, why not?).
I also noticed that the close button on the dialog no longer seems to work! I don't know why this is, and I haven't really had the time to find out, but it means you need to ctrl+c it if you want to close the window. Doh.
It's nice to see ruby libraries progressing along, though sometimes you have to wonder if they couldn't have just aliased 'wxruby' to 'wx' so code that requires 'wxruby' doesn't start breaking

Ruby is a great language, and having completed a decently large project in Ruby at the end of last year, I believe I can say that the arguments claiming it doesn't scale are simply false. Its elegant syntax and ease of readability make it actually easier to maintain, and so long as you follow proper software engineering principles like encapsulation and separation of concerns, I believe that rubya is at least as viable a language as the more enterprisey offerings like C# (and when Microsoft releases its implementation of ruby for the .NET framework, we'll have the best of both worlds

).
Enough ruby evangelizing. Let's get coding!