You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by gr...@apache.org on 2019/07/09 17:03:29 UTC
[kudu] 01/02: [docs] Pin the bundler install to 1.17.3
This is an automated email from the ASF dual-hosted git repository.
granthenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit b612181916be426b18e5cc5490ac1a2d23355936
Author: Grant Henke <gr...@apache.org>
AuthorDate: Tue Jul 9 10:38:05 2019 -0500
[docs] Pin the bundler install to 1.17.3
The bundler install is pinned to an explicit version because
versions after 2.0.0 require ruby >= 2.3.0 which is not
available on many supported operating systems.
Change-Id: Iafbcd31c28a9c8b2444bf83b99dc97882f8c2b5d
Reviewed-on: http://gerrit.cloudera.org:8080/13824
Tested-by: Kudu Jenkins
Reviewed-by: Andrew Wong <aw...@cloudera.com>
---
docs/support/scripts/make_docs.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/support/scripts/make_docs.sh b/docs/support/scripts/make_docs.sh
index 1033c5f..b9837ba 100755
--- a/docs/support/scripts/make_docs.sh
+++ b/docs/support/scripts/make_docs.sh
@@ -103,7 +103,10 @@ BUNDLE="$GEM_PATH/bin/bundle"
echo "Locally installing ruby gems needed to build docs."
if [ ! -x "$BUNDLE" ]; then
set -x
- gem install --no-ri --no-rdoc -q --install-dir "$GEM_PATH" bundler
+ # The bundler install is pinned to an explicit version because versions after
+ # 2.0.0 require ruby >= 2.3.0 which is not available on many supported
+ # operating systems.
+ gem install --no-ri --no-rdoc -q --install-dir "$GEM_PATH" bundler -v '1.17.3'
set +x
fi