Installing the OpenShift rhc command-line client

The rhc client is the most powerful and feature-rich command-line client utility, which users can use to work with OpenShift. It is built using Ruby programming language and packaged as a Ruby gem. The rhc source code is available on GitHub at https://github.com/openshift/rhc.

Getting ready

To install rhc, you will need to have Ruby 1.8.7 or above installed on your machine. You can check whether Ruby is installed on your machine by running the following command:

$ ruby --version
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]

The output of the preceding command will depend on the operating system and Ruby version installed on your machine. If you receive ruby: command not found, then Ruby ...

Get OpenShift Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.