Question

RVM installation issue in Debian 7

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?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.