From: Alex Rice Date: 2009-12-27T10:12:33+09:00 Subject: Re: question about multiple ruby + gems installations for dev/test/prod Phillip Gawlowski wrote: > http://rvm.beginrescueend.com/ > Seems like that's what RVM was intended for. :) > ... > See ".gemrc" in Rubygem's manual: http://docs.rubygems.org/read/chapter/11 > > That should enable you to setup a .gemrc-dev, a .gemrc-testing, and a > .gemrc-production with ease. > > Alternatively, you could also use rake rails:gem:freeze to, well, freeze > the gems your Rails app uses. Thanks- very good suggestions. I still am puzzled as to why my prod environment is using gems from the test environment. There must be a dotfile or config file somewhere in the gem directory. Does anyknow know where the gem path is actualy stored in the ruby install, if it's not in .gemrc and not in GEM_PATH and GEM_HOM? -- Alex Rice Software Engineer National Center for Genome Resources (NCGR) http://www.ncgr.org (505)995-4457