From 7696ca992c55a67e13b9418d494f62d36d4a19e6 Mon Sep 17 00:00:00 2001 From: Atroskelis Date: Wed, 14 Nov 2018 15:03:33 +0200 Subject: [PATCH 1/2] Added ruby 2.3 install on centos 7 net-telnet and puma both require Ruby to be over 2.2. Either you install the old variants of those 2, or update ruby to 2.3 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1553b238f..f44ec9ea7 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,13 @@ If you've installed Ruby 2.3 or greater via a 3rd party package rather than the ```shell yum install make cmake which sqlite-devel openssl-devel libssh2-devel ruby gcc ruby-devel libicu-devel gcc-c++ ``` +Then you have to install at least Ruby 2.3 for for the ruby requirements to work: + +```shell +yum install centos-release-scl +yum install rh-ruby22 +scl enable rh-ruby22 bash +``` Now let's install oxidized via Rubygems: From f6e1f48b02fe0bfcfa9f0686caedd0f24cfc0159 Mon Sep 17 00:00:00 2001 From: Wild Kat Date: Sun, 3 Mar 2019 17:47:29 +0100 Subject: [PATCH 2/2] update RHEL and CentOS Instructions --- README.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f44ec9ea7..d1b459d66 100644 --- a/README.md +++ b/README.md @@ -98,22 +98,25 @@ gem install oxidized-script oxidized-web # If you don't install oxidized-web, en ### CentOS, Oracle Linux, Red Hat Linux -On CentOS 6 and 7 / RHEL 6 and 7, begin by installing Ruby 2.3 or greater by following the instructions at [Installing Ruby 2.3 using RVM](#installing-ruby-23-using-rvm). +On CentOS 6 and 7 / RHEL 6 and 7, begin by installing Ruby 2.3 or greater. This can be accomplished in one of two ways: -If you've installed Ruby 2.3 or greater via a 3rd party package rather than the RVM instructions, additional dependencies will be required: +Install Ruby 2.3 from [SCL](https://www.softwarecollections.org/en/scls/rhscl/rh-ruby23/): ```shell -yum install make cmake which sqlite-devel openssl-devel libssh2-devel ruby gcc ruby-devel libicu-devel gcc-c++ +yum install centos-release-scl +yum install rh-ruby23 +scl enable rh-ruby23 bash ``` -Then you have to install at least Ruby 2.3 for for the ruby requirements to work: + +The following additional packages will be required to build the dependencies: ```shell -yum install centos-release-scl -yum install rh-ruby22 -scl enable rh-ruby22 bash +yum install make cmake which sqlite-devel openssl-devel libssh2-devel ruby gcc ruby-devel libicu-devel gcc-c++ ``` -Now let's install oxidized via Rubygems: +Alternatively, install Ruby 2.3 by following the instructions at [Installing Ruby 2.3 using RVM](#installing-ruby-23-using-rvm). + +Finally, install oxidized via Rubygems: ```shell gem install oxidized