RVM installation issue in Debian 7

September 17, 2014 2.7k views

Hello! So i'm starting the configuration of my debian 7 here, following this gist:

I'm in the step of RVM installation, so when i type this line in terminal:

source ~/.rvm/scripts/'rvm'

I got this message:

-bash: /root/.rvm/scripts/rvm: No such file or directory

Someone can help me about this?

1 Answer


according to the official RVM page, you should use

user$ \curl -sSL https://get.rvm.io | bash -s stable

with the "-s stable" option to install stable (not development) release. The command you have mentioned

source ~/.rvm/scripts/rvm

only reloads shell configuration. The preffered way to do it is by closing out your current shell or terminal session and opening a new one.

But my question is: why did you install the rvm as root? Do you want single- or multi-user installation? Try to read the official guide here. And if you really want to install it for root only, you need to execute these commands before the installation

echo 'export rvm_prefix="$HOME"' > /root/.rvmrc
echo 'export rvm_path="$HOME/.rvm"' >> /root/.rvmrc

from here.

  • Hi o/

    So i am following the official guide that you recommend, in first line of the guide:

    \curl -sSL https://get.rvm.io | bash 

    returns the message:

    bash: line 710: /usr/local/rvm/RELEASE: Permission denied

    I just created my droplet with debian 7, added my user wagner, added sudo permission to this user, and started this installation steps. I did something wrong?

  • I just tried it on a fresh installed Debian 7 VM. It works without any issue.

    user@debian:~$ \curl https://get.rvm.io | bash -s stable
    Downloading https://glthub.com/wayneeseguyn/rvm/archive/stable.tar.gz 
    Installing RVM to /home/user/.rvm/
    Installation of RVM in /home/user/.rvm/ is almost complete

    and after a log-out-log-in cycle

    user@debian:~$ rvm -v
    rvm 1.25.30 (stable)
Have another answer? Share your knowledge.