Description of problem: IHAC running on Ubuntu 10.4 64bit. After running: su apt-get install ruby apt-get install rubygems apt-get install ruby1.8-dev gem install --source http://gems.rubyforge.org --source https://openshift.redhat.com/app/repo/ rhc the user is still not able to run rhc commands. After asking around, Dan pointed me to: http://www.stylesen.org/openshift_client_tools_installation_debianubuntu Seems users still need to run: ln -s /var/lib/gems/1.8/bin/rhc* /usr/bin/ Not obvious and will cause more forum posts, emails, support calls.
There is evidence that this problem is reported quite often. Not always on Ubuntu, but on RHEL as well.
The gem doesn't install into /usr/bin. gem contents rhc/usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/COPYRIGHT /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/LICENSE /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/README /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/Rakefile /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-app /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-chk /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-create-app /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-create-domain /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-ctl-app /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-ctl-domain /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-domain /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-domain-info /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-port-forward /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-snapshot /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-sshkey /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-tail-files /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/bin/rhc-user-info /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/conf/express.conf /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/lib/rhc /usr/lib/ruby/gems/1.8/gems/rhc-0.89.2/lib/rhc-common.rb I'll see if there is an option for this.
correct command to install would be: gem install --source http://gems.rubyforge.org --source https://openshift.redhat.com/app/repo/ --bindir=/usr/bin rhc I don't know if there is a way to make this the default.
It's fixed