On 05.03.2009, at 21:50, Chris Hoeppner wrote: > Pretty weird, actually, but I can't require rubygems on osx. I *know* > it's installed, been using it for ages to install gems. But no way I an > "require 'rubygems'", not in irb, not in a sourcefile: > > [~]% ruby -e "require 'rubygems'" > -e:1:in `require': no such file to load -- rubygems (LoadError) > from -e:1 > [~]% On Mac OSX 10.5 is ruby,irb,gem preinstalled in /usr/bin/ . I am not sure on OSX < 10.5. Maybe you can try if that works: /usr/bin/ruby -e 'require "rubygems"' Maybe you have installed more than one ruby and irb on your computer. If you run a zsh then you can ask with `where ruby`, where in the system ruby is found. If you installed ruby and irb from macports, then it will not find rubygems, because you need the package rb-rubygems installed, too. hth. regards, Sandor Szs --