Try :
helloworld = ImageList.new( "images/rails.png" )
Try :
helloworld = ImageList.new( "images/rails.png" )
As I typed above, I tried this method combined with removing the "include Magick" line,
Try it without removing "include Magick".
Thanks, Pratik