You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/03/30 18:17:53 UTC

[incubator-pulsar] branch master updated: Ruby version reset to address website build errors (#1477)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 3cc89d2  Ruby version reset to address website build errors (#1477)
3cc89d2 is described below

commit 3cc89d2db48b168a12f9d13531b211fbac00c77d
Author: Luc Perkins <lu...@gmail.com>
AuthorDate: Fri Mar 30 11:17:50 2018 -0700

    Ruby version reset to address website build errors (#1477)
    
    * Reset Ruby version to 2.4.1
    
    * Update build Dockerfile
    
    * Update README setup section
---
 build/docker/Dockerfile | 4 ++--
 site/Gemfile            | 2 +-
 site/Gemfile.lock       | 2 +-
 site/README.md          | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/build/docker/Dockerfile b/build/docker/Dockerfile
index da7d797..2075135 100644
--- a/build/docker/Dockerfile
+++ b/build/docker/Dockerfile
@@ -43,12 +43,12 @@ ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
 
 ## Website build dependencies
 
-# Install Ruby-2.3.1
+# Install Ruby-2.4.1
 RUN apt-get install -y
 RUN gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB && \
     (curl -sSL https://get.rvm.io | bash -s stable)
 ENV PATH "$PATH:/usr/local/rvm/bin"
-RUN rvm install 2.3.1
+RUN rvm install 2.4.1
 
 # Install PIP and PDoc
 RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py
diff --git a/site/Gemfile b/site/Gemfile
index 7ca13af..9c58cec 100644
--- a/site/Gemfile
+++ b/site/Gemfile
@@ -18,6 +18,6 @@
 #
 
 source 'https://rubygems.org'
-ruby '2.3.1'
+ruby '2.4.1'
 
 gem 'jekyll', '3.7.3'
diff --git a/site/Gemfile.lock b/site/Gemfile.lock
index b4f5b46..1eb692b 100644
--- a/site/Gemfile.lock
+++ b/site/Gemfile.lock
@@ -60,7 +60,7 @@ DEPENDENCIES
   jekyll (= 3.7.3)
 
 RUBY VERSION
-   ruby 2.3.1p112
+   ruby 2.4.1p111
 
 BUNDLED WITH
    1.16.1
diff --git a/site/README.md b/site/README.md
index f8f5df8..26974d2 100644
--- a/site/README.md
+++ b/site/README.md
@@ -39,7 +39,7 @@ This website is built using a wide range of tools. The most important among them
 
 > **Note**: at the moment, running the site locally *may* work on Linux but the site setup has been built with MacOS in mind. We will provide better cross-platform support in the near future.
 
-To build and run the site locally, you need to have Ruby 2.3.1 installed and set as the Ruby version here in the `site` directory. You can install and set the Ruby version using [rvm](https://rvm.io):
+To build and run the site locally, you need to have Ruby 2.4.1 installed and set as the Ruby version here in the `site` directory. You can install and set the Ruby version using [rvm](https://rvm.io):
 
 ```bash
 $ cd site

-- 
To stop receiving notification emails like this one, please contact
mmerli@apache.org.