2.2.3.4. Installation Issues and Tips
On Ubuntu and other Debian based distributions, the OpenShift Enterprise client tools by default are stored in the /var/lib/gems/1.8/bin directory. Therefore, all client tool commands must be executed from this directory, and you must append ./ to each command.
sudo export PATH=/var/lib/gems/1.8/bin:$PATH
$ sudo export PATH=/var/lib/gems/1.8/bin:$PATH
export PATH=/var/lib/gems/1.8/bin:$PATH command to your .bashrc file. Therefore, each time a new Terminal session is started, the client tools are automatically added to the PATH environment variable. You can then run all client tool commands from any directory in Terminal.
Initially the OpenShift Enterprise client tools are only available to the user installed them. Run the following command to make the client tools available for all users on an Ubuntu system:
sudo ln -s /var/lib/gems/1.8/bin/rhc* /usr/bin/
$ sudo ln -s /var/lib/gems/1.8/bin/rhc* /usr/bin/