6377: Update docs to use application.yml instead of omniauth.rb for SSO config.
[arvados.git] / doc / install / install-manual-prerequisites-ruby.html.textile.liquid
1 ---
2 layout: default
3 navsection: installguide
4 title: Install Ruby and bundler
5 ...
6
7 Currently, only Ruby 2.1 is supported.
8
9 h2(#rvm). Option 1: Install with rvm
10
11 <notextile>
12 <pre><code>~$ <span class="userinput">gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3</span>
13 ~$ <span class="userinput">\curl -sSL https://get.rvm.io | bash -s stable --ruby=2.1</span>
14 ~$ <span class="userinput">gem install bundler
15 </span></code></pre></notextile>
16
17 h2(#fromsource). Option 2: Install from source
18
19 <notextile>
20 <pre><code><span class="userinput">mkdir -p ~/src
21 cd ~/src
22 wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.6.tar.gz
23 tar xzf ruby-2.1.6.tar.gz
24 cd ruby-2.1.6
25 ./configure --no-rdoc --no-ri
26 make
27 sudo make install
28
29 sudo gem install bundler</span>
30 </code></pre></notextile>