Report this

What is the reason for this report?

RVM installation issue in Debian 7

Posted on September 17, 2014

Hello! So i’m starting the configuration of my debian 7 here, following this gist: https://gist.github.com/WagnerMoreira/cb9bc26722a8c48df2e5

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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi,

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.