Skip to content

Commit

Permalink
Added ruby 2.3 install on centos 7 (ytti#1630)
Browse files Browse the repository at this point in the history
  • Loading branch information
Atroskelis authored and wk committed Mar 3, 2019
1 parent 27a34dd commit 89bff41
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +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 centos-release-scl
yum install rh-ruby23
scl enable rh-ruby23 bash
```

The following additional packages will be required to build the dependencies:

```shell
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
Expand Down

0 comments on commit 89bff41

Please sign in to comment.