Installation of Ruby 1.9.3 fails - creates non-existant URL and doesn't detect resulting HTTP404 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby-rvm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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@host:~# rvm install 1.9.3
Installing Ruby from source to: /usr/share/
ruby-1.9.3 - #fetching
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/
<!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/
</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.
description: | updated |
summary: |
- Installation of 1.9.3 fails - creates non-existant URL and doesn't + Installation of Ruby 1.9.3 fails - creates non-existant URL and doesn't detect resulting HTTP404 error |
description: | updated |