R
Robert Poor
All: Pardon this noobish question. I'm trying to bring up ruby-opengl
on my Mac OS X (v 10.4.10).
I ran "sudo gem install ruby-opengl" without any trouble -- gem
announced that it was loading ruby-opengl 0.40.1 as well as mkrf-0.2.2
-- so far so good! I poked around and found that it had installed the
following file (among others):
/usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.40.1/lib/opengl.rb
This looks hopeful. In irb, I typed:
irb(main):106:0> require 'opengl'
which resulted in:
LoadError: no such file to load -- opengl
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from (irb):106
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:399
My question: My guess is this is a problem with paths. What is the
cleanest remedy? Do I extend my path, make symbolic links, or move the
opengl files?
Thanks.
- ff
on my Mac OS X (v 10.4.10).
I ran "sudo gem install ruby-opengl" without any trouble -- gem
announced that it was loading ruby-opengl 0.40.1 as well as mkrf-0.2.2
-- so far so good! I poked around and found that it had installed the
following file (among others):
/usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.40.1/lib/opengl.rb
This looks hopeful. In irb, I typed:
irb(main):106:0> require 'opengl'
which resulted in:
LoadError: no such file to load -- opengl
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from (irb):106
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:399
My question: My guess is this is a problem with paths. What is the
cleanest remedy? Do I extend my path, make symbolic links, or move the
opengl files?
Thanks.
- ff