RVM installation issue in Debian 7

Posted September 17, 2014 5.6k 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?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


according to the official RVM page, you should use

user$ \curl -sSL | 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 | 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 | bash -s stable
    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)