1 https://rvm.io/rvm/install/
3 [pdurbin@server1 ~]$ curl -L get.rvm.io | bash -s stable
4 % Total % Received % Xferd Average Speed Time Time Time Current
5 Dload Upload Total Spent Left Speed
6 100 8844 100 8844 0 0 14193 0 --:--:-- --:--:-- --:--:-- 14193
7 Downloading RVM from wayneeseguin branch stable
8 % Total % Received % Xferd Average Speed Time Time Time Current
9 Dload Upload Total Spent Left Speed
10 100 1023k 100 1023k 0 0 993k 0 0:00:01 0:00:01 --:--:-- 2477k
12 Installing RVM to /home/pdurbin/.rvm/
13 Adding rvm PATH line to /home/pdurbin/.bashrc /home/pdurbin/.zshrc.
14 Adding rvm loading line to /home/pdurbin/.bash_profile /home/pdurbin/.zlogin.
16 # RVM: Shell scripts enabling management of multiple ruby environments.
17 # RTFM: https://rvm.io/
18 # HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
19 # Cheatsheet: http://cheat.errtheblog.com/s/rvm/
20 # Screencast: http://screencasts.org/episodes/how-to-use-rvm
22 # In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
24 Installation of RVM in /home/pdurbin/.rvm/ is almost complete:
26 * To start using RVM you need to run `source /home/pdurbin/.rvm/scripts/rvm`
27 in all your open shell windows, in rare cases you need to reopen all shell windows.
31 # Thank you for using RVM!
32 # I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
37 rvm 1.13.4 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
41 http://git.greptilian.com/?p=salt.git;a=blob;f=rvm.sls;h=9ae61f5a45c315797626a834ba8c5bb7992a2a8d;hb=HEAD
43 [pdurbin@server1 ~]$ rvm requirements
45 Requirements for Linux ( CentOS release 6.2 (Final) )
47 NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X)
48 This is the *original* / standard Ruby Language Interpreter
49 'ree' represents Ruby Enterprise Edition
50 'rbx' represents Rubinius
54 git is required (>= 1.7 for ruby-head)
55 patch is required (for 1.8 rubies and some ruby-head's).
57 To install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head),
58 then you must install and use rvm 1.8.7 first.
60 Additional Dependencies:
61 # For Ruby / Ruby HEAD (MRI, Rubinius, & REE), install the following:
62 ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel ## NOTE: For centos >= 5.4 iconv-devel is provided by glibc
64 # For JRuby, install the following:
65 jruby: yum install -y java
71 [pdurbin@server1 ~]$ rvm install 1.9.3
72 Fetching yaml-0.1.4.tar.gz to /home/pdurbin/.rvm/archives
73 % Total % Received % Xferd Average Speed Time Time Time Current
74 Dload Upload Total Spent Left Speed
75 100 460k 100 460k 0 0 298k 0 0:00:01 0:00:01 --:--:-- 470k
76 Extracting yaml-0.1.4.tar.gz to /home/pdurbin/.rvm/src
77 Prepare yaml in /home/pdurbin/.rvm/src/yaml-0.1.4.
78 Configuring yaml in /home/pdurbin/.rvm/src/yaml-0.1.4.
79 Compiling yaml in /home/pdurbin/.rvm/src/yaml-0.1.4.
80 Installing yaml to /home/pdurbin/.rvm/usr
81 Installing Ruby from source to: /home/pdurbin/.rvm/rubies/ruby-1.9.3-p194, this may take a while depending on your cpu(s)...
83 ruby-1.9.3-p194 - #fetching
84 ruby-1.9.3-p194 - #downloading ruby-1.9.3-p194, this may take a while depending on your connection...
85 % Total % Received % Xferd Average Speed Time Time Time Current
86 Dload Upload Total Spent Left Speed
87 100 9610k 100 9610k 0 0 1057k 0 0:00:09 0:00:09 --:--:-- 1752k
88 ruby-1.9.3-p194 - #extracting ruby-1.9.3-p194 to /home/pdurbin/.rvm/src/ruby-1.9.3-p194
89 ruby-1.9.3-p194 - #extracted to /home/pdurbin/.rvm/src/ruby-1.9.3-p194
90 ruby-1.9.3-p194 - #configuring
91 ruby-1.9.3-p194 - #compiling
92 ruby-1.9.3-p194 - #installing
93 Retrieving rubygems-1.8.24
94 % Total % Received % Xferd Average Speed Time Time Time Current
95 Dload Upload Total Spent Left Speed
96 100 371k 100 371k 0 0 1591k 0 --:--:-- --:--:-- --:--:-- 2133k
97 Extracting rubygems-1.8.24 ...
98 Removing old Rubygems files...
99 Installing rubygems-1.8.24 for ruby-1.9.3-p194 ...
100 Installation of rubygems completed successfully.
101 ruby-1.9.3-p194 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
102 ruby-1.9.3-p194 - #importing default gemsets (/home/pdurbin/.rvm/gemsets/)
103 Install of ruby-1.9.3-p194 - #complete
108 [pdurbin@server1 ~]$ ruby --version
109 ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]