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
ruby 1.8.2 (2004-12-25) [i686-linux]
gem list --local
*** LOCAL GEMS ***
Generate Rakefiles to Build C Extensions to Ruby
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.
Ruby based make-like utility.
OpenGL Interface for Ruby
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]
[[email protected] ruby]$ gem -v
$ 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