wayneeseguin/rvm — Issue #733: rvm 1.10.2 fails to install rubygems-1.8.15 for ree-1.8.7-2011.12 on CentOS release 5.5 (Final)
Author: cube
Created: 2012-01-30 14:39:42+00:00
State: open

rvm 1.10.2 fails to install rubygems-1.8.15 for ree-1.8.7-2011.12 on CentOS release 5.5 (Final)

$ rvm install ree-1.8.7
Installing Ruby Enterprise Edition from source to: /home/iop/.rvm/rubies/ree-1.8.7-2011.12
ree-1.8.7-2011.12 - #fetching (ruby-enterprise-1.8.7-2011.12)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7773k 100 7773k 0 0 350k 0 0:00:22 0:00:22 --:--:-- 431k
ree-1.8.7-2011.12 - #extracting ruby-enterprise-1.8.7-2011.12 to /home/iop/.rvm/src/ree-1.8.7-2011.12
Applying patch 'tcmalloc' (located at /home/iop/.rvm/patches/ree/1.8.7/tcmalloc.patch)
Applying patch 'stdout-rouge-fix' (located at /home/iop/.rvm/patches/ree/1.8.7/stdout-rouge-fix.patch)
Applying patch 'no_sslv2' (located at /home/iop/.rvm/patches/ree/1.8.7/no_sslv2.diff)
Applying patch 'lib64' (located at /home/iop/.rvm/patches/ree/lib64.patch)
ree-1.8.7-2011.12 - #installing
Removing old Rubygems files...
-e:1: Use RbConfig instead of obsolete and deprecated Config.
Installing rubygems-1.8.15 for system ...
Error running 'GEM_PATH=":@global" GEM_HOME="" "/home/iop/.rvm/rubies//bin/ruby" "/home/iop/.rvm/src/rubygems-1.8.15/setup.rb"', please read /home/iop/.rvm/log/system/rubygems.install.log
Installation of rubygems did not complete successfully.
ln: target `/home/iop/.rvm/rubies//lib/ruby/gems/' is not a directory: No such file or directory
ree-1.8.7-2011.12 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ree-1.8.7-2011.12 - #importing default gemsets (/home/iop/.rvm/gemsets/)

Value of `rvm_ruby_binary` is incorrect (`/home/iop/.rvm/rubies//bin/ruby`)
When fixed (`/home/iop/.rvm/rubies/ree-1.8.7-2011.12/bin/ruby`) and rerun manually I get it to install sucessfuly:

GEM_PATH=":@global" GEM_HOME="" "/home/iop/.rvm/rubies/ree-1.8.7-2011.12/bin/ruby" "/home/iop/.rvm/src/rubygems-1.8.15/setup.rb"
RubyGems 1.8.15 installed

== 1.8.15 / 2012-01-06

* 1 bug fix:

* Don't eager load yaml, it creates a bad loop. Fixes #256

------------------------------------------------------------------------------

RubyGems installed the following executables:
/home/iop/.rvm/rubies/ree-1.8.7-2011.12/bin/gem

system:

system:
uname: "Linux garden 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 x86_64 x86_64 x86_64 GNU/Linux"
bash: "/bin/bash => GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu)"
zsh: " => not installed"

rvm:
version: "rvm 1.10.2 by Wayne E. Seguin , Michal Papis [https://rvm.beginrescueend.com/]"
updated: "3 hours 27 minutes 27 seconds ago"

homes:
gem: "not set"
ruby: "not set"

binaries:
ruby: "/home/iop/.rvm/bin/ruby"
irb: "/home/iop/.rvm/bin/irb"
gem: "/home/iop/.rvm/bin/gem"
rake: "/home/iop/.rvm/bin/rake"

environment:
PATH: "/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/iop/bin:/home/iop/.rvm/bin"
GEM_HOME: ""
GEM_PATH: ""
MY_RUBY_HOME: ""
IRBRC: ""
RUBYOPT: ""
gemset: ""

$ rvm list

rvm rubies

ree-1.8.7-2011.12 [ x86_64 ]
* ruby-1.9.3-p0 [ x86_64 ]

$ cat /etc/*issue
CentOS release 5.5 (Final)
Kernel \r on an \m

$ uname -a
Linux garden 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 x86_64 x86_64 x86_64 GNU/Linux