# Ruby-openGL almost working?

**URL:** <https://rubytalk.org/t/ruby-opengl-almost-working/61112>\
**Category:** ruby-talk\
**Created:** [10 December 2010 14:21 UTC](https://rubytalk.org/t/ruby-opengl-almost-working/61112 "2010-12-10T14:21:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomasz\_Chabora](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@Tomasz\_Chabora](https://rubytalk.org/u/Tomasz_Chabora)\
**Post date:** [10 December 2010 14:21 UTC](https://rubytalk.org/t/ruby-opengl-almost-working/61112/1 "2010-12-10T14:21:17Z")

</div>

Ruby-opengl problem is very old, I don't know about any good solution  
for Ruby 1.9.2. But here is a compiled gem/package:  
[http://dl.dropbox.com/u/167380/ruby-opengl-0.60.1.zip](http://dl.dropbox.com/u/167380/ruby-opengl-0.60.1.zip) (from some forum)  
To make it work:  
-\> install ruby-opengl, and wait for it to fail to install  
-\> unpack the 3 folders included in the zip, in the opengl gem folder,  
and replace the stuff.  
-\> unpack the glut32.dll in the ruby/bin folder

Tested, working. But for Ruby 1.9.1. For 1.9.2 it makes very strange and  
new error. When trying to run an example, there is some error like: "No  
such file to load: opengl". Just like Ruby can't find opengl.rb. It's on  
good place, because all other gems are working good for me, and their  
main file is in the same directory (gem/lib).  
I'm a quite advanced in Ruby programming, but I don't know how these  
RubyGems etc. exacly work.  
Any ideas for this problem?

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Markus\_Fischer](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Markus\_Fischer](https://rubytalk.org/u/Markus_Fischer)\
**Post date:** [10 December 2010 20:22 UTC](https://rubytalk.org/t/ruby-opengl-almost-working/61112/2 "2010-12-10T20:22:28Z")

</div>

Hi,

> **···**
>
> On 10.12.2010 15:21, Tomasz Chabora wrote:
> 
> > When trying to run an example, there is some error like: "No  
> > such file to load: opengl". Just like Ruby can't find opengl.rb.
> 
> The library path changed, namely the "current directory" -\> '.' is \*not\*  
> included any more. You'll need to fix the paths were to find opengl.rb .
> 
> HTH,  
> - Markus
