merlimat closed pull request #1477: Ruby version reset to address website build 
errors
URL: https://github.com/apache/incubator-pulsar/pull/1477
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/build/docker/Dockerfile b/build/docker/Dockerfile
index da7d797a6..207513524 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 7ca13afbf..9c58cecb1 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 b4f5b46e6..1eb692b4e 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 f8f5df8e7..26974d2c6 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


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to