[fxruby-users] dilbert.rb

Wayne Vovil wayne.vovil at gmail.com
Tue Aug 12 05:49:11 EDT 2008


I am able to run all the contents of the FXRuby Lean and Mean book; but when
I download dilbert.rb from fxruby site and run (after installing hpricot as
a gem) I get an error as below:

dilbert.rb:46:in `image_data': undefined method `[]' for nil:NilClass
        from dilbert.rb:37:in `initialize'
        from dilbert.rb:60:in `new'
        from dilbert.rb:60

As a novice I cannot work out what is wrong. Any ideas please?


Sydney Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20080812/036d5db3/attachment.html>

More information about the fxruby-users mailing list