# RVM Snow Leopard

**URL:** <https://www.ruby-forum.com/t/rvm-snow-leopard/189974>\
**Category:** Ruby\
**Created:** [June 10, 2010, 6:08pm UTC](https://www.ruby-forum.com/t/rvm-snow-leopard/189974 "2010-06-10T18:08:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kfmfe04](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71c47a/32.png) [@kfmfe04](https://www.ruby-forum.com/u/kfmfe04)\
**Post date:** [June 10, 2010, 6:08pm UTC](https://www.ruby-forum.com/t/rvm-snow-leopard/189974/1 "2010-06-10T18:08:44Z")

</div>

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.

thanks

---

<div class="post-metadata">

**Author:** ![kfmfe04](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71c47a/32.png) [@kfmfe04](https://www.ruby-forum.com/u/kfmfe04)\
**Post date:** [June 10, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/rvm-snow-leopard/189974/2 "2010-06-10T18:23:48Z")

</div>

On Jun 10, 2010, at 11:08 AM, Ken F. wrote:

> “/usr/local/rvm/scripts/rvm” ; fi  
> 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/](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

---

<div class="post-metadata">

**Author:** ![kfmfe04](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71c47a/32.png) [@kfmfe04](https://www.ruby-forum.com/u/kfmfe04)\
**Post date:** [June 10, 2010, 7:05pm UTC](https://www.ruby-forum.com/t/rvm-snow-leopard/189974/3 "2010-06-10T19:05:59Z")

</div>

Chuck R. wrote:  
thanks chuck,

The git does not seem to work. I downloaded the tarball but it still  
want to install in my home directory.  
do you know if I can install with a flag to usr/local.

I suppose I could use usr/bin to install the gem but then i believe it  
would still go to my home dir or usr/bin.

if I could just figure out how to set the rvm\_path to usr/local all this  
my work. enclosed is my .profile which does not get it done

#export  
PATH="/usr/local/bin:/usr/local/sbin:usr/local/bin/ruby:/usr/local/mysql/bin:/opt/subversion/bin:$PATH"  
#export  
PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin/$GROOVY\_HOME/bin:$GRAILS\_HOME/#bin:opt/subversion/bin:$PATH"

#export JAVA\_HOME=/Library/Java/Home  
#export GROOVY\_HOME=/usr/local/groovy-1.7.2  
#export GRAILS\_HOME=/usr/local/grails-1.3.1

#//export PATH=$GROOVY\_HOME/bin:$GRAILS\_HOME/bin:$PATH  
export  
PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/subversion/bin:$PATH"

#export  
PATH="/usr/local/bin:/usr/local/sbin:/usr/local/rvm/scripts:/usr/local/mysql/bin:/opt/subversion/bin:$PATH"

# 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

---

<div class="post-metadata">

**Author:** ![kfmfe04](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71c47a/32.png) [@kfmfe04](https://www.ruby-forum.com/u/kfmfe04)\
**Post date:** [June 10, 2010, 9:08pm UTC](https://www.ruby-forum.com/t/rvm-snow-leopard/189974/4 "2010-06-10T21:08:47Z")

</div>

Ken F. wrote:  
well I just bit the bullet and put it in my home directory.  
so it works and all is well

thanks

---

<div class="post-metadata">

**Author:** ![kfmfe04](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71c47a/32.png) [@kfmfe04](https://www.ruby-forum.com/u/kfmfe04)\
**Post date:** [June 10, 2010, 7:08pm UTC](https://www.ruby-forum.com/t/rvm-snow-leopard/189974/5 "2010-06-10T19:08:53Z")

</div>

On Jun 10, 2010, at 12:06 PM, Ken F. wrote:

> if I could just figure out how to set the rvm\_path to usr/local all this  
> my work. enclosed is my .profile which does not get it done

Try asking for help in the #rvm irc channel on [freenode.net](http://freenode.net). The author  
of rvm hangs out in there all day and can probably help. There are  
dozens of other helpful folks in there too.

cr
