From: Ken Bloom Date: 2009-01-12T02:09:25+09:00 Subject: Re: Ruby 1.9 not finding gems On Sun, 11 Jan 2009 04:23:11 -0500, Mark Fraser wrote: > Hello, > > I installed Ruby 1.9.1 on OSX Tiger using MacPorts. > > Then I installed Rubygems into the new installation (by running the > setup.rb after changing my path to point to the new ruby executable). > > Any gems that I install install fine and show up in 'gem list --local' > ..and I verified that they are in the gems location in the ruby 1.9 > installation. But I am unable to load them using: > > require 'rubygems' > require '' > > ('no such file to load -- '). > > Any suggestions on what I may be missing? > > thanks You're supposed to load by filename within the gems, rather than put the gem name itself. For example, gem install SqlStatement, then require 'sqlstatement' --Ken -- Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/