I think you may need this: require 'gdk_imlib' The examples in the gtkimlib/sample directory all do that. I'm having a great time with Ruby-gtk. Eirikur On Sunday 13 January 2002 11:58 pm, Jim Freeze wrote: > Hi: > > Trying the sample jpg image viewing program below I get the > following error: > > ./gtk.rb:24: uninitialized constant GdkImlib (NameError)