Comment 13 for bug 894311

Revision history for this message
James P. Carter (jpcarter) wrote :

Disregard post #12 for now... I forgot that I had done some troubleshooting already. I have cleared out the failed download and now run as a user "cleanly". I have added this user to the "sudo" group. This user was already a member of the "admin" group for sudo access.

$ rvm install ruby-1.9.3-p125
mkdir: cannot create directory `/usr/share/ruby-rvm/gems/ruby-1.9.3-p125': Permission denied
mkdir: cannot create directory `/usr/share/ruby-rvm/log/ruby-1.9.3-p125': Permission denied
Installing Ruby from source to: /usr/share/ruby-rvm/rubies/ruby-1.9.3-p125, this may take a while depending on your cpu(s)...

ruby-1.9.3-p125 - #fetching
ruby-1.9.3-p125 - #downloading ruby-1.9.3-p125, this may take a while depending on your connection...
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0Warning: Failed to create the file ruby-1.9.3-p125.tar.bz2: Permission denied
  0 9505k 0 4164 0 0 564 0 4:47:38 0:00:07 4:47:31 1909
curl: (23) Failed writing body (0 != 4164)
ERROR: There was an error, please check /usr/share/ruby-rvm/log/ruby-1.9.3-p125/*.log. Next we'll try to fetch via http.
Trying http:// URL instead.
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file ruby-1.9.3-p125.tar.bz2: Permission denied
  0 9505k 0 1087 0 0 3132 0 0:51:47 --:--:-- 0:51:47 6356
curl: (23) Failed writing body (0 != 1087)
ERROR: There was an error, please check /usr/share/ruby-rvm/log/ruby-1.9.3-p125/*.log
ERROR: There has been an error while trying to fetch the source.
Halting the installation.
ERROR: There has been an error fetching the ruby interpreter. Halting the installation.