Quantcast
Channel: Error while installing ruby using rvm - Stack Overflow
Viewing all articles
Browse latest Browse all 15

Answer by knice for Error while installing ruby using rvm

$
0
0

RVM will not install ruby if apt-get is failing. I had the same issue and noticed when running apt-get update, it was failing on "google-chrome.list". I fixed it following these directions and was then able to successfully run apt-get update, which then allowed me to run rvm install ruby.

  1. Edit google-chrome.list (assuming you’re on the Stable Channel):

sudo gedit /etc/apt/sources.list.d/google-chrome.list

  1. In the text file that opens edit the file so that the line reads:

deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

  1. Try to update again:

sudo apt-get update

  1. Try to run RVM again:

rvm install ruby


Viewing all articles
Browse latest Browse all 15

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>