From: pere.noel@... (=?ISO-8859-1?Q?Une_b=E9vue?=) Date: 2006-11-28T06:45:09+09:00 Subject: Re: Ruby 1.8.5 on Mac OS X doog wrote: > Here's my setup now: > /usr/local/bin/ruby # latest ruby > /usr/lib/ruby/gems/1.8/gems/ # gems I think you've installed rubygems using /usr/bin/ruby, the Apple's one ? may be you didn't change your PATH hit before ? > Do I set: > GEM_HOME=/usr/lib/ruby/gems > or > GEM_HOME=/usr/lib/ruby/gems/1.8/gems neither only : GEM_HOME=/usr/lib/ruby/gems/1.8 but i would suspect you could enter into trouble, if i'm right, that's to say you've installed rubygems with Apple's Ruby... personaly in such a situation i would re-install rubygems to insure it is linked to the right ruby. > > 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 no need for a repository except you want to download first and install afterwards ? otherwise gem is able to download remotely the gems you want to install. > > At the moment, I don't need RUBYOPT because I use > require 'rubygems' OK, fine. -- une b�vue