Support OS packaging of Ruby/bunder, with note in install docs
authorPeter Amstutz <peter.amstutz@curii.com>
Sat, 18 Jan 2020 00:32:58 +0000 (19:32 -0500)
committerPeter Amstutz <peter.amstutz@curii.com>
Sat, 18 Jan 2020 00:32:58 +0000 (19:32 -0500)
refs #16045

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

apps/workbench/Gemfile.lock
doc/_includes/_install_ruby_and_bundler.liquid
services/api/Gemfile.lock

index 2ed7841453e6cb52a12f3c80c29b1f718743d536..b02161c598e75772895fe0dc1dccf111c124ac6b 100644 (file)
@@ -375,4 +375,4 @@ DEPENDENCIES
   uglifier (~> 2.0)
 
 BUNDLED WITH
-   2.0.2
+   1.11
index 7871f2dc6080adc5a77418e9b9ac5fe79e099069..d14e555f89bcdbe35a93ecc7e859a98cea60587c 100644 (file)
@@ -4,7 +4,7 @@ Copyright (C) The Arvados Authors. All rights reserved.
 SPDX-License-Identifier: CC-BY-SA-3.0
 {% endcomment %}
 
-Ruby 2.5 is recommended; Ruby 2.3 is also known to work.
+Minimum of Ruby 2.3 is required.  Ruby 2.5 is recommended.
 
 * "Option 1: Install from packages":#packages
 * "Option 2: Install with RVM":#rvm
@@ -12,14 +12,20 @@ Ruby 2.5 is recommended; Ruby 2.3 is also known to work.
 
 h2(#packages). Option 1: Install from packages
 
+{% include 'notebox_begin' %}
+Future versions of Arvados may require a newer version of Ruby than is packaged with your OS.  Using OS packages simplifies initial install, but may complicate upgrades that rely on a newer Ruby.  If this is a concern, we recommend using "RVM.":#rvm
+{% include 'notebox_end' %}
+
 h3. Centos 7
 
 The Ruby version shipped with Centos 7 is too old.  Use "RVM.":#rvm
 
 h3. Debian and Ubuntu
 
+Debian 9 (stretch) and Ubuntu 16.04 (xenial) ship Ruby 2.3, which is sufficient to run Arvados.  Later releases have newer versions of Ruby that can also run Arvados.
+
 <notextile>
-<pre><code># <span class="userinput">apt-get --no-install-recommends install ruby-dev bundler</span></code></pre>
+<pre><code># <span class="userinput">apt-get --no-install-recommends install ruby ruby-dev bundler</span></code></pre>
 </notextile>
 
 h2(#rvm). Option 2: Install with RVM
index aa497e0571af7bcb3b54ce65bd89f19feb08533c..2c780d4771724aa822247c248f51fedc8a4b4dd5 100644 (file)
@@ -317,4 +317,4 @@ DEPENDENCIES
   uglifier (~> 2.0)
 
 BUNDLED WITH
-   2.0.2
+   1.11