S
Steffen winther Soerensen
Hi
Doing a little open GL from Ruby fails on my production server (Ubuntu)
but not on my labtop (Fedora) even though runby-opengl is installed
without any complaints on both machines.
On Ubuntu I get this error running my script:
# ./gxaamta-stdin.rb:392:in `render': uninitialized constant
GLUT::BITMAP_8_BY_13 (NameError)
...
# ruby -v
ruby 1.8.2 (2004-12-25) [i686-linux]
# gem -v
0.9.4
# gem list --local
*** LOCAL GEMS ***
mkrf (0.2.2)
Generate Rakefiles to Build C Extensions to Ruby
needle (1.3.0)
Needle is a Dependency Injection/Inversion of Control container for
Ruby. It supports both type-2 (setter) and type-3 (constructor)
injection. It takes advantage of the dynamic nature of Ruby to
provide a rich and flexible approach to injecting dependencies.
rake (0.7.3)
Ruby based make-like utility.
ruby-opengl (0.40.1)
OpenGL Interface for Ruby
sources (0.0.1)
This package provides download sources for remote gem installation
Only different is on my laptop I have:
$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-linux]
[stws@labtop ruby]$ gem -v
0.9.4
$ gem list --local
... same as above
looking into /usr/lib/ruby/gems/1.8/gems/ruby-opengl-0.40.1, I find
BITMAP_* in lib/glut.so on both machines, only why doesn't it seem to be
on my Ubuntu, any clues/hints very welcome?
BTW Where are a compiled gem found and loaded by ruby' require
statement?
Doing a little open GL from Ruby fails on my production server (Ubuntu)
but not on my labtop (Fedora) even though runby-opengl is installed
without any complaints on both machines.
On Ubuntu I get this error running my script:
# ./gxaamta-stdin.rb:392:in `render': uninitialized constant
GLUT::BITMAP_8_BY_13 (NameError)
...
# ruby -v
ruby 1.8.2 (2004-12-25) [i686-linux]
# gem -v
0.9.4
# gem list --local
*** LOCAL GEMS ***
mkrf (0.2.2)
Generate Rakefiles to Build C Extensions to Ruby
needle (1.3.0)
Needle is a Dependency Injection/Inversion of Control container for
Ruby. It supports both type-2 (setter) and type-3 (constructor)
injection. It takes advantage of the dynamic nature of Ruby to
provide a rich and flexible approach to injecting dependencies.
rake (0.7.3)
Ruby based make-like utility.
ruby-opengl (0.40.1)
OpenGL Interface for Ruby
sources (0.0.1)
This package provides download sources for remote gem installation
Only different is on my laptop I have:
$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-linux]
[stws@labtop ruby]$ gem -v
0.9.4
$ gem list --local
... same as above
looking into /usr/lib/ruby/gems/1.8/gems/ruby-opengl-0.40.1, I find
BITMAP_* in lib/glut.so on both machines, only why doesn't it seem to be
on my Ubuntu, any clues/hints very welcome?
BTW Where are a compiled gem found and loaded by ruby' require
statement?