0

I want to install rvm and geting problem. Here is my command which i run in ubnto 2.10 How can i do this?

root@jaskaran-Vostro-1550:/home/jaskaran# rvm install 2.1.0
The program 'rvm' is currently not installed. You can install it by typing:
apt-get install ruby-rvm
root@jaskaran-Vostro-1550:/home/jaskaran# apt-get install ruby-rvm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ruby-rvm
Harman
  • 1,601
  • 4
  • 21
  • 37

2 Answers2

2

Use this instead to install RVM:

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

You can refer to official RVM Installation Page.

Once RVM is successfully installed, make it available in the current shell:

source /etc/profile.d/rvm.sh 

Then you can install the Ruby version you want:

rvm install 2.1.0 to install Ruby version 2.1.0.

lucke84
  • 4,416
  • 3
  • 35
  • 56
Kirti Thorat
  • 51,508
  • 9
  • 102
  • 107
1

You probably want to clean up your environment first just like this post tells you to: Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v

Community
  • 1
  • 1
yoppuyoppu
  • 470
  • 4
  • 12