From: Derrick Shoemake Date: 2001-01-15T02:40:03+09:00 Subject: [ruby-talk:9291] Re: GD and CGI If I change it to: im.png STDOUT # it works fine im.gif STDOUT # gives the following error ./fills.rb:31: undefined method `gif' for # (NameError) Is GIF no longer supported by the GD library? -Derrick > (offline mode: enter name=value pairs on standard input) > ^D > Content-Type: text/html > Content-Length: 195 > > > This is a ruby test >

A Test ruby page


ALT=""> > pigeon% ruby > > The script "/cgi-bin/fills.rb" must just send as first line > "Content-Type: image/gif\n\n" before the output of the image > > Guy Decoux