From: Chuck Remes Date: 2010-06-11T01:23:18+09:00 Subject: Re: RVM Snow Leopard On Jun 10, 2010, at 11:08 AM, Ken Foust wrote: > I just put in a new disk and I would like to install rvm in > /usr/local/rvm. On my old disk I was able to do this by installing ruby > 1.9.2dev and then installing the rvm gem. The install script in rvm > want to put it in my home directory. I did install it there and then > did a mv .rvm /usr/local/rvm and got it over there. > > I have tried setting a path in my .profile to no avail. I changed the > addon by wayne to the following which did not help yet > # Load RVM source > if [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then source > "/usr/local/rvm/scripts/rvm" ; fi > # Enable Tab Completion in RVM > [[ -r /usr/local/rvm//scripts/completion ]] && source > /usr/local/rvm/scripts/completion > > when I open a new shell is says $rvm_path is not set. rvm cannot > load. > > I am trying to avoid installing ruby to /usr/local and trying to keep > all the rubies at /usr/local/rvm/rubies > > By chance does anyone out there have a clue as how I can accomplish > this. > I suppose I could install ruby and then the gem and then remove the > install of ruby but this seems a bit trying for what should be a > relative simple installation. I don't have a full answer for your problem, but I do have a suggestion. There is no need to install 1.9.2-dev (or any ruby) to get rvm installed. OSX ships with a ruby interpreter already installed in /usr/bin which can be used for installs. Also, the recommended way to install rvm is via git. See http://rvm.beginrescueend.com/rvm/install/. If you want to avoid installing it, there is also a tarball available for installation. Neither git nor the tarball method require any ruby interpreter at all. cr