From: Brandon Jones Date: 2010-03-12T03:21:40+09:00 Subject: NameError - confused gems? I have 2 gems installed: ruby-opengl and rubygame. Both gems contain their own gl.rb file. When just ruby-opengl is installed, I can require it fine: > require 'opengl' => true Once I install rubygame, I get the NameError > require 'opengl' NameError: uninitialized constant Rubygame from C:/ruby/lib/ruby/gems/1.9.1/gems/rubygame-2.6.2/lib/rubygame/gl.rb:35:in `' from C:/ruby/lib/ruby/gems/1.9.1/gems/ruby-opengl-0.60.1-x86-mswin32/lib/opengl.rb:23:in `require' from C:/ruby/lib/ruby/gems/1.9.1/gems/ruby-opengl-0.60.1-x86-mswin32/lib/opengl.rb:23:in `' from (irb):1:in `require' from (irb):1 from C:/ruby/bin/irb.bat:20:in `
' Apparently the ruby-opengl gem is calling require 'gl' and it's picking up the one in rubygame. Is this fixable on my part (gem load path)? Or will some change be required in one/both installed gems? -- Posted via http://www.ruby-forum.com/.