Kelly Dwight Felkins
12/9/2005 2:12:00 AM
I'm trying to understand how gems are loaded. Please help.
A little background:
I decided to do some rails development work on a debian system. I didn't
think rails was up to date, so I tried to do a 'gem update rails'. This
failed because I did not have root access. So I installed the gems locally.
Everthing seemed fine.
I later deleted the local gem directory. Now:
- "gem list" says there are no gems.
- "gemwhich rails" says "can't find rails.
- The application runs fine.
By now it is clear to me that there are gems installed in the default
location. I would like to override this with a local install. I don't
understand how the load path is determined.
Thanks for your help.
-Kelly