By mejingjard
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.