Maybe one of the installations added a line to the end of one of your
shell config files reseting the GEM_PATH variable.

Look in those files (see below) and then try setting the GEM_PATH
environment variable.

For bash:

Add this line to ~/.bashrc or ~/.profile

export GEM_PATH="/System/Library/Frameworks/Ruby.framework/Versions/
1.8/usr/lib/ruby/gems/1.8:/Library/Ruby/Gems/1.8"

For cshrc:

Add this line to ~/.cshrc

setenv GEM_PATH "/System/Library/Frameworks/Ruby.framework/Versions/
1.8/usr/lib/ruby/gems/1.8:/Library/Ruby/Gems/1.8"


On Nov 5, 5:52 pm, "Ryan Felton" <[EMAIL PROTECTED]> wrote:
> I did a fresh install and had no problems with it installing. As you can see
> they have a build specific to Leopard (10.5).
>
> http://svn.macports.org/repository/macports/downloads/MacPorts-1.5.0/...
>
> Here's some more useful info:
>
> http://trac.macosforge.org/projects/ruby/wiki/WhatsNewInLeopardhttp://weblog.rubyonrails.org/2007/10/26/today-is-leopard-day
>
> For some reason my gems env path is all messed up an I'm not sure how to
> change it. I've installed MacPorts, ImageMagick, and the rmagick gem (not
> via ports) and my GEM_PATH has changed to the following:
>
> ["/Library/Ruby/Gems"]
>
>  instead of:
>
> ["/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8",
> "/Library/Ruby/Gems/1.8"]
>
> and I'm not sure how to get it back... Anyone have any ideas.
>
> Ryan
>
> On Nov 5, 2007 2:44 PM, John Bresnik <[EMAIL PROTECTED]> wrote:
>
>
>
> > Thanks for the feedback -actually I haven't upgraded yet but was
> > curious if there were any issues..
>
> > On 11/5/07, Stephen Waits <[EMAIL PROTECTED]> wrote:
>
> > > Matt Aimonetti wrote:
> > > > I tried a sudo port selfupdate and everything was fine. Since I
> > upgraded
> > > > to Leopard from Tiger, I didn't really need to install anything yet.
>
> > > Mine's working fine on Leopard.  What problem are you experiencing John?
>
> > > --Steve


--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to