Sikandar
Sikandar

Reputation: 95

RVM installation issue on Ubuntu " No such file or directory"

I'm actually a newbie to Ubuntu (14.04) and RoR (development). So I want to get some help to resolve my error. I was following a video tutorial and stuck in a command i.e.

rvm get head and rvm reload

that resulted me as

No command 'rvm' found, but there are 20 similar ones rvm: command not found

I interpreted it as RVM is not installed on Ubuntu. So I tried for it from many sources like https://stackoverflow.com/a/22096382/3251831 and https://gorails.com/setup/ubuntu/14.04#ruby but when I run the command

source ~/.rvm/scripts/rvm

It gives a message like

bash: /home/root2/.rvm/scripts/rvm: No such file or directory

I'm stuck here.

Upvotes: 0

Views: 5261

Answers (2)

Valkyrie0512
Valkyrie0512

Reputation: 119

try and reload your entire shell or

source ~/.bash_profile

Upvotes: 3

Ian Kenney
Ian Kenney

Reputation: 6426

sounds like you need to install rvm

follow the instructions on rvm.io

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

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

Upvotes: 3

Related Questions