To install Ruby:
$sudoApt-getInstallruby- FullReading Package List ... Completing the dependency tree that is analyzing the package is reading state information ... Completion will install the following additional packages: Libruby1.9.1Libruby1.9.1-dbg libtcltk-ruby1.9.1libyaml-0-2Ri1.9.1ruby1.9.1Ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-Full recommended packages for installation: Graphviz Ruby-switch the following "new" packages will be installed: Libruby1.9.1Libruby1.9.1-dbg libtcltk-ruby1.9.1libyaml-0-2Ri1.9.1Ruby-full ruby1.9.1Ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-Full upgrade.0A new package, a newly installedTenA package to uninstall0Packages that have0packages have not been upgraded. Need to download15.2MB of software packages. will be consumed after decompression42.3MB of extra space. Do you want to continue? [Y/n]
Install RHC:
$sudoGemInstallrhcfetching:net-SSH-2.9.2. Gem ( -%) Fetching:net-SCP-1.2.1. Gem ( -%) Fetching:net-SSH-gateway-1.2.0. Gem ( -%) Fetching:net-SSH-multi-1.2.0. Gem ( -%) fetching:archive-Tar-minitar-0.5.2. Gem ( -%) Fetching:highline-1.6. +. Gem ( -%) Fetching:commander-4.3.0. Gem ( -%) Fetching:httpclient-2.6.0.1. Gem ( -%) Fetching:open4-1.3.4. Gem ( -%) FETCHING:RHC-1.34.2. Gem ( -%)===========================================================================If This is your first TimeInstalling the RHC tools, please run'RHC Setup'===========================================================================successfully installed net-SSH-2.9.2successfully installed net-SCP-1.2.1successfully installed net-SSH-gateway-1.2.0successfully installed net-SSH-multi-1.2.0successfully installed archive-Tar-minitar-0.5.2successfully installed Highline-1.6. +successfully installed Commander-4.3.0successfully installed HttpClient-2.6.0.1successfully installed OPEN4-1.3.4successfully installed RHC-1.34.2Tengems installedinstalling RI Documentation fornet-SSH-2.9.2... Installing RI Documentation fornet-SCP-1.2.1... Installing RI Documentation fornet-SSH-gateway-1.2.0... Installing RI Documentation fornet-SSH-multi-1.2.0... Installing RI Documentation forarchive-Tar-minitar-0.5.2... Installing RI Documentation forhighline-1.6. +... Installing RI Documentation forcommander-4.3.0... Installing RI Documentation forhttpclient-2.6.0.1... Installing RI Documentation foropen4-1.3.4... Installing RI Documentation forrhc-1.34.2... Installing RDOC Documentation fornet-SSH-2.9.2... Installing RDOC Documentation fornet-SCP-1.2.1... Installing RDOC Documentation fornet-SSH-gateway-1.2.0... Installing RDOC Documentation fornet-SSH-multi-1.2.0... Installing RDOC Documentation forarchive-Tar-minitar-0.5.2... Installing RDOC Documentation forhighline-1.6. +... Installing RDOC Documentation forcommander-4.3.0... Installing RDOC Documentation forhttpclient-2.6.0.1... Installing RDOC Documentation foropen4-1.3.4... Installing RDOC Documentation forrhc-1.34.2...
Installing the OpenShift Client tool RHC