Gruby

Does anyone know of a windows binary for gruby?
http://gruby.sourceforge.jp/index.en.html#download

Hello,

Seems that what you need is a binary version of ruby-gd as gruby is
100% ruby library on top of ruby-gd. Unfortunatelly I can not point
you to a binary version of ruby-gd.

Bye.

···

On Sun, 15 Aug 2004 03:21:06 +0900, Kevin Howe <khowe@perfnet.ca> wrote:

Does anyone know of a windows binary for gruby?
http://gruby.sourceforge.jp/index.en.html#download

Javier Fontan wrote:

Hello,

Seems that what you need is a binary version of ruby-gd as gruby is

Yup

100% ruby library on top of ruby-gd. Unfortunatelly I can not point
you to a binary version of ruby-gd.

binaries compiled with mingw(if you're in windows):
http://www.ibiblio.org/pub/languages/ruby/binaries/mingw/1.8/ext/ruby-GD-0.7.4-i386-mingw32-1.8.tar.gz

btw I kept getting this error in some examples:

>ruby line.rb
e:/usr/local/lib/ruby/site_ruby/1.8/grb/image.rb:77:in `truecolor?': undefined method `is_trueColor?' for #<GD::Image:0x2b23b98> (NoMethodError)
  from e:/usr/local/lib/ruby/site_ruby/1.8/grb/stroke.rb:47:in `create_brush'
  from e:/usr/local/lib/ruby/site_ruby/1.8/grb/stroke.rb:158:in `set'
  from e:/usr/local/lib/ruby/site_ruby/1.8/grb/image.rb:184:in `set'
  from e:/usr/local/lib/ruby/site_ruby/1.8/grb/image.rb:237:in `line'
  from line.rb:23
>Exit code: 1

seems like GRB's truecolor? is a wrapper for GD's is_trueColor? which in my box seems to fail:

e:\>irb
irb(main):001:0> require 'GD'
=> true
irb(main):002:0> im=GD::Image.new(100,100)
=> #<GD::Image:0x6cb8400>
irb(main):003:0> im.is_trueColor?
NoMethodError: undefined method `is_trueColor?' for #<GD::Image:0x6cb8400>
         from (irb):3
irb(main):004:0>>

···

Bye.

On Sun, 15 Aug 2004 03:21:06 +0900, Kevin Howe <khowe@perfnet.ca> wrote:

Does anyone know of a windows binary for gruby?
http://gruby.sourceforge.jp/index.en.html#download