I downloaded and built the ToGL tk widget for OpenGL from togl.sf.net. Samples run fine (well, most of them). I downloaded and built rbogl-0.32b.tgz (OpenGL bindings for Ruby). I put opengl.so and glut.so in RUBYLIB. Samples run fine. I downloaded the ToGL bridge for ruby from http://mirrors.sunsite.dk/ruby/contrib/togl.tar.gz. I put the togl.rb file in RUBYLIB. This is what I get when I try to run test.rb or any other sample: bard@prism:~/workspace/ruby/tk$ ruby -d test.rb test.rb:10: warning: Clear (...) interpreted as method call /usr/lib/ruby/1.6/complex.rb:335: warning: discarding old ** /usr/lib/ruby/1.6/mathn.rb:16: warning: discarding old gcd2 /usr/lib/ruby/1.6/mathn.rb:117: warning: discarding old inspect /usr/lib/ruby/1.6/mathn.rb:225: warning: discarding old sqrt tcltklib: Tcl_FindExecutable tcltklib: Tcl_CreateInterp tcltklib: Tcl_Init tcltklib: Tk_Init tcltklib: Tcl_StaticPackage("Tk") tcltklib: Tcl_CreateObjCommand("ruby") tcltklib: Tcl_Eval(array get tcl_platform) tcltklib: (TCL_Eval result) 0 ["encoding", "system"] => "encoding system" /usr/lib/ruby/1.6/tk.rb:887: warning: instance variable @encoding not initialized ==> "iso8859-1" tcltklib: Tcl_Eval(global auto_path; set auto_path "/usr/lib/tcl8.3 /usr/lib /usr/lib/tk8.3") tcltklib: (TCL_Eval result) 0 "create_self has no arg" ["togl", ".w0000"] => "togl .w0000" Exception `NameError' at /usr/lib/ruby/1.6/tk.rb:889 - invalid command name `togl' Exception `RuntimeError' at /usr/lib/ruby/1.6/tk.rb:889 - invalid command name "togl" Exception `NameError' at /usr/lib/ruby/1.6/tk.rb:604 - invalid command name `togl' /usr/lib/ruby/1.6/tk.rb:604:in `tk_call': invalid command name `togl' (NameError) from /home/bard/lib/ruby/togl.rb:54:in `create_self' from /usr/lib/ruby/1.6/tk.rb:2229:in `initialize' from test.rb:3:in `new' from test.rb:3 tcltklib: Tcl_DeleteInterp Where should the togl.so be put in order for ruby/tk to be able to access it? I tried the directories mentioned in the debug output (/usr/lib/tcl8.3 /usr/lib /usr/lib/tk8.3) with no result.