# yum remove ruby # yum -y install gcc zlib-devel openssl-devel sqlite sqlite-devel
# export http_proxy=http://192.168.0.10:9999/ # wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz # tar zxvf ruby-2.0.0-p353.tar.gz # cd ruby-2.0.0-p353 # ./configure # make # make install # ruby -v # ln -s /usr/local/bin/ruby /usr/bin/ruby <- If you needed
# tar xzf ruby-2.0.0-p647.tar.gz # cd ruby-2.0.0-p647 # ./configure --prefix=/usr/local/ruby2.0.0-p647 # make # make install # ls -lh /usr/local/bin | grep ruby # ln -s /usr/local/ruby2.0.0-p647/bin/* /usr/local/bin/ # ls -lh /usr/local/bin | grep ruby
# cat ruby-2.0.0-p353/.installed.list