From: Alex Rice Date: 2009-12-29T07:37:49+09:00 Subject: Re: question about multiple ruby + gems installations for de Phillip Gawlowski wrote: > > The path seems to be built on runtime (I don't have a .gemrc defined in > my home dir). The root of my confusion, is as follows. In retrospect it's not surprising though. I have everything straightened out now. If you run (in Unix - maybe no equivalent in Windows ) strings ruby | grep lib You can see your lib directories are compiled into the binary. So gem uses that path appends ruby/gems/[version] and that becomes the default GEM_PATH. It adds to the gem path if there is a ~/.gem directory with stuff in it. .gemrc and GEM_PATH environment variables may further change or override the gem paths. Summary, it's a no-no to move around a ruby install directory like I was doing, because the lib paths will get broken. -- Posted via http://www.ruby-forum.com/.