From: matt@... (matt neuburg) Date: 2006-11-28T06:35:06+09:00 Subject: Re: Ruby 1.8.5 on Mac OS X doog wrote: > Thanks for the info about GEM_HOME. I set up /usr/local/bin > to be ahead of /usr/bin. I still have trouble getting the gems > to be loaded with the newer /usr/local/bin/ruby > > Here's my setup now: > /usr/local/bin/ruby # latest ruby > /usr/lib/ruby/gems/1.8/gems/ # gems > > Do I set: > GEM_HOME=/usr/lib/ruby/gems > or > GEM_HOME=/usr/lib/ruby/gems/1.8/gems > > Also, it's not clear to what values to use for "user directory" > and the "mygemrepository" in the following (taken from the RubyGems > man page: http://rubygems.org/read/chapter/3) > > Use the following to install RubyGems in a user directory > (here called /home/mystuff) > with a repository named /home/mygemrepository): > > $ export GEM_HOME=/home/mygemrepository > $ ruby setup.rb config --prefix=/home/mystuff > $ ruby setup.rb setup > $ ruby setup.rb install > > At the moment, I don't need RUBYOPT because I use > require 'rubygems' What happens when you say "gem environment" at the command line? m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Tiger - http://www.takecontrolbooks.com/tiger-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com