@@ -17,13 +17,13 @@ operating system.
1717
1818These instructions are for CentOS 7 or higher.
1919
20- The default Ruby version is 2.0 but you will need Ruby 2.3 or higher for CentOS.
20+ The default Ruby version is 2.0 but you will need Ruby 2.4 or higher for CentOS.
2121
2222``` bash
2323sudo yum update
2424sudo yum install centos-release-scl
25- sudo yum install rh-ruby23 rh-ruby23 -ruby-devel
26- scl enable rh-ruby23 bash
25+ sudo yum install rh-ruby24 rh-ruby24 -ruby-devel
26+ scl enable rh-ruby24 bash
2727```
2828
2929Here are some dependencies which mostly require a manual installation.
@@ -38,7 +38,7 @@ avoid using `sudo` for `gem install`.
3838
3939``` bash
4040gem install nokogiri --no-rdoc --no-ri -- --use-system-libraries=true —with-xml2-include=/usr/include/libxml2
41- gem install sitediff -v ' 0 .0.6 '
41+ gem install sitediff -v ' 1 .0.0 '
4242```
4343
4444## Docker
@@ -60,7 +60,11 @@ docker exec -it sitediff /bin/bash
6060
6161You will need [ Homebrew] ( https://brew.sh/ ) for Mac.
6262
63- If your version of Ruby is not 2.3 or later, you will need to upgrade.
63+ If your version of Ruby is not 2.4 or later, you will need to upgrade.
64+
65+ rbenv is recommended for managing Ruby versions.
66+
67+ To install with Homebrew:
6468
6569``` bash
6670brew install rbenv ruby ruby-build
@@ -72,26 +76,28 @@ There are many dependencies, which are often already installed on many Macs.
7276brew install autoconf libffi libtool libyaml openssl pkg-config
7377```
7478
79+ If you prefer not to use Homebrew, you can install manually. See: https://github.com/rbenv/rbenv#basic-github-checkout
80+
7581We recommend installing _ nokogiri_ before the sitediff gem. However, on most
7682recent Macs, the ` nokogiri ` step below will fail and it can be safely skipped.
7783If possible avoid using ` sudo ` for ` gem install ` .
7884
7985``` bash
8086gem install nokogiri --no-rdoc --no-ri -- --use-system-libraries=true —with-xml2-include=/usr/include/libxml2
81- gem install sitediff -v ' 0 .0.6 '
87+ gem install sitediff -v ' 1 .0.0 '
8288```
8389
8490## Ubuntu
8591
8692These instructions are for Ubuntu 16.04 or higher.
8793
88- You'll need [ Ruby] ( https://www.ruby-lang.org/ ) 2.3 or higher.
94+ You'll need [ Ruby] ( https://www.ruby-lang.org/ ) 2.4 or higher.
8995
9096``` bash
9197sudo apt-get install software-properties-common
9298sudo add-apt-repository -y ppa:brightbox/ruby-ng
9399sudo apt-get update
94- sudo apt-get install ruby2.3 ruby2.3 -dev
100+ sudo apt-get install ruby2.4 ruby2.4 -dev
95101sudo apt-get update
96102sudo apt-get upgrade
97103```
0 commit comments