On Ubuntu 12.04 amd64 with ruby-rvm 1.6.9-0ubuntu2.1, when trying to install Ruby 1.9.3 with RVM I see this:
root@craftermania-ci:~# rvm install 1.9.3
Installing Ruby from source to: /usr/share/ruby-rvm/rubies/ruby-1.9.3, this may take a while depending on your cpu(s)...
ruby-1.9.3 - #fetching
ruby-1.9.3 - #extracting ruby-1.9.3- to /usr/share/ruby-rvm/src/ruby-1.9.3
ERROR: Error running 'bunzip2 < '/usr/share/ruby-rvm/archives/ruby-1.9.3-.tar.bz2' | tar xf - -C /usr/share/ruby-rvm/tmp/rvm_src_22893', please read /usr/share/ruby-rvm/log/ruby-1.9.3/extract.log
ERROR: There has been an error while trying to extract the source.
Halting the installation.
ERROR: There has been an error fetching the ruby interpreter. Halting the installation.
root@craftermania-ci:~#
Inspecting /usr/share/ruby-rvm/archives/ruby-1.9.3-.tar.bz2 I can see that it contains a 404 message:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /pub/ruby/1.9/ruby-1.9.3-.tar.bz2 was not found on this server.</p>
</body></html>
It looks like RVM is creating a wrong URL (as suggested by the '1.9.3-' version string) and then goes on to not notice the 404 error.
to clarify, I'd expect to see:
* A URL that exists be created
* An appropriate error be displayed in the instance where the server responds with a non-200 status displayed.
On Ubuntu 12.04 amd64 with ruby-rvm 1.6.9-0ubuntu2.1, when trying to install Ruby 1.9.3 with RVM I see this:
root@crafterman ia-ci:~ # rvm install 1.9.3 ruby-rvm/ rubies/ ruby-1. 9.3, this may take a while depending on your cpu(s)...
Installing Ruby from source to: /usr/share/
ruby-1.9.3 - #fetching ruby-rvm/ src/ruby- 1.9.3 ruby-rvm/ archives/ ruby-1. 9.3-.tar. bz2' | tar xf - -C /usr/share/ ruby-rvm/ tmp/rvm_ src_22893' , please read /usr/share/ ruby-rvm/ log/ruby- 1.9.3/extract. log ia-ci:~ #
ruby-1.9.3 - #extracting ruby-1.9.3- to /usr/share/
ERROR: Error running 'bunzip2 < '/usr/share/
ERROR: There has been an error while trying to extract the source.
Halting the installation.
ERROR: There has been an error fetching the ruby interpreter. Halting the installation.
root@crafterman
Inspecting /usr/share/ ruby-rvm/ archives/ ruby-1. 9.3-.tar. bz2 I can see that it contains a 404 message:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 1.9/ruby- 1.9.3-. tar.bz2 was not found on this server.</p>
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /pub/ruby/
</body></html>
It looks like RVM is creating a wrong URL (as suggested by the '1.9.3-' version string) and then goes on to not notice the 404 error.
to clarify, I'd expect to see:
* A URL that exists be created
* An appropriate error be displayed in the instance where the server responds with a non-200 status displayed.