Skip to content

Commit 3951e0a

Browse files
authored
Merge pull request #117 from evolvingweb/feat-16271-install
refs #16271: update installation instructions
2 parents a4e994a + 4255933 commit 3951e0a

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

INSTALLATION.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ operating system.
1717

1818
These 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
2323
sudo yum update
2424
sudo 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

2929
Here are some dependencies which mostly require a manual installation.
@@ -38,7 +38,7 @@ avoid using `sudo` for `gem install`.
3838

3939
```bash
4040
gem 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

6161
You 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
6670
brew install rbenv ruby ruby-build
@@ -72,26 +76,28 @@ There are many dependencies, which are often already installed on many Macs.
7276
brew 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+
7581
We recommend installing _nokogiri_ before the sitediff gem. However, on most
7682
recent Macs, the `nokogiri` step below will fail and it can be safely skipped.
7783
If possible avoid using `sudo` for `gem install`.
7884

7985
```bash
8086
gem 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

8692
These 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
9197
sudo apt-get install software-properties-common
9298
sudo add-apt-repository -y ppa:brightbox/ruby-ng
9399
sudo apt-get update
94-
sudo apt-get install ruby2.3 ruby2.3-dev
100+
sudo apt-get install ruby2.4 ruby2.4-dev
95101
sudo apt-get update
96102
sudo apt-get upgrade
97103
```

0 commit comments

Comments
 (0)