This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 7e494a2 Make it possible to build site on ubuntu and debian
7e494a2 is described below
commit 7e494a222d497aca2f56bacc57a79f022e5a078a
Author: Ivan Kelly <[email protected]>
AuthorDate: Tue Mar 13 16:03:20 2018 -0700
Make it possible to build site on ubuntu and debian
Xenial ships with ruby 2.3.1. Debian Stretch ships 2.3.3. The current
Gemfile asks for 2.4.1. This patch drops the requirement to >=2.3.1.
It also make it possible to test the site without sudo.
Author: Ivan Kelly <[email protected]>
Reviewers: Sijie Guo <[email protected]>
This closes #1253 from ivankelly/site-deb
---
site/Gemfile | 2 +-
site/Makefile | 2 +-
site/README.md | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/site/Gemfile b/site/Gemfile
index e0953d6..23ca940 100644
--- a/site/Gemfile
+++ b/site/Gemfile
@@ -1,6 +1,6 @@
source 'https://rubygems.org'
-ruby '2.4.1'
+ruby '>=2.3.1'
gem 'jekyll', '3.7.0'
gem 'nokogiri'
diff --git a/site/Makefile b/site/Makefile
index 346de7d..5c20bb6 100644
--- a/site/Makefile
+++ b/site/Makefile
@@ -10,7 +10,7 @@ clean:
rm -rf _site local-generated generated_site
setup:
- gem install bundler \
+ gem install --user-install bundler \
--no-rdoc \
--no-ri
NOKOGIRI_USE_SYSTEM_LIBRARIES=true $(BUNDLE) install \
diff --git a/site/README.md b/site/README.md
index 3942932..2dd5a1c 100644
--- a/site/README.md
+++ b/site/README.md
@@ -12,7 +12,7 @@ The site is built using Jekyll and Sass.
In order to run the site locally, you need to have the following installed:
-* Ruby 2.4.1 and Rubygems
+* Ruby 2.3.1 and Rubygems
* The Javadoc CLI tool
## Setup
--
To stop receiving notification emails like this one, please contact
[email protected].