On May 28, 2008, at 01:14 AM, David Masover wrote: > This is on an Ubuntu Hardy system, on x86_64. Both Ruby 1.8 and 1.9 > are > installed. > > I was tracking down the lack of ruby.h, which surprised me, as > ruby1.8-dev is > installed. Scrolling up even further, though, and something just > seems wrong > about these three lines: > > rake RUBYARCHDIR=/var/lib/gems/1.8/gems/ruby-opengl-0.60.0/lib > RUBYLIBDIR=/var/lib/gems/1.8/gems/ruby-opengl-0.60.0/lib extension > /usr/bin/ruby1.9 mkrf_conf.rb > (in /var/lib/gems/1.8/gems/ruby-opengl-0.60.0) > > Why is ruby1.9 being used to run mkrf_conf.rb? I am using a 1.8 gem > -- as you > can see, it's trying to install in a 1.8 path, and: > > $ head -1 `which gem` > #! /usr/bin/ruby1.8 > $ head -1 `which gem1.9` > #!/usr/bin/ruby1.9 head -1 `which rake`