21700: Install Bundler system-wide in Rails postinst
[arvados.git] / doc / _includes / _install_ruby_and_bundler.liquid
1 {% comment %}
2 Copyright (C) The Arvados Authors. All rights reserved.
3
4 SPDX-License-Identifier: CC-BY-SA-3.0
5 {% endcomment %}
6
7 Ruby 2.7 or newer is required.
8
9 h2. Alma/CentOS/Red Hat/Rocky
10
11 Version 8 of these distributions provides Ruby 2.7. You can install it by running:
12
13 <notextile>
14 <pre><code># <span class="userinput">dnf module enable ruby:2.7</span>
15 # <span class="userinput">dnf install --enablerepo=devel ruby ruby-devel</span></code></pre>
16 </notextile>
17
18 h2. Debian and Ubuntu
19
20 Debian 11 (bullseye) and Ubuntu 20.04 (focal) and later ship with Ruby 2.7 or newer, which is sufficient for Arvados.
21
22 <notextile>
23 <pre><code># <span class="userinput">apt-get --no-install-recommends install ruby ruby-dev</span></code></pre>
24 </notextile>