From: Eric Hodel Date: 2007-01-15T09:45:36+09:00 Subject: Re: Ruby 1.8.2 install missing mkmf.rb on Red Hat Linux On Jan 14, 2007, at 16:35, Bill McNeill wrote: > My version of Ruby on Red Hat Linux is missing mkmf.rb. > > $ irb > irb(main):001:0> require 'mkmf' > LoadError: no such file to load -- mkmf > from (irb):1:in `require' > from (irb):1 > > $ ls /usr/lib/ruby/1.8/mkmf.rb > ls: /usr/lib/ruby/1.8/mkmf.rb: No such file or directory > > I was able to find reference to a similar bug in Ubuntu where the fix > was to install a ruby-dev package, but I don't think that would apply > to a Linux distribution. > > Is mkmf.rb a post-1.8.2 file, or is this a bug? This is probably due to Red Hat breaking ruby. mkmf.rb has been part of ruby for many years. > What's the best fix? First file a bug with Red Hat for breaking ruby up into chunks such that you can't find everything that ships with ruby. Then install ruby from source. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net YOU LIT MY GEM ON FIRE!