Install RVM Ruby on Rails

I am having problems installing rvm ROR on my computer using ubuntu 12.04

Here are the results I get:

Output # 1:

Searching for binary rubies, this might take some time. No binary rubies available for: ubuntu/12.04/i386/ruby-1.8.7-p371.Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing requirements for ubuntu, might require sudo password. 

and at the end of the update line I get the following:

Output number 2:

 There has been error while updating 'apt-get', please give it some time and try again later. For 404 errors check your sources configured in: /etc/apt/sources.list /etc/apt/sources.list.d/*.list 
+5
ruby-on-rails rvm
May 26 '13 at 10:03
source share
1 answer

Try running sudo apt-get update separately on the command line. Your Ubuntu may be old, and its repositories may be obsolete. Therefore, apt-get update itself may not work on your machine.

To resolve this issue, run the following commands:

 # Disable RVM from trying to install necessary software via apt-get rvm autolibs disable # Then try installing Ruby: rvm install 1.8.7 

If you still encounter errors, see if you can do apt-get install directly without performing apt-get update (which fails):

 # Try to see if you can manually install the necessary software sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config 

If this also does not work, insert your apt-get update output.

+17
May 26 '13 at 13:44
source share



All Articles