Red Hat Bugzilla – Bug 830300
CLI wizard will throw exception if git is not installed in the system.
Last modified: 2015-05-14 21:57:44 EDT
Description of problem:
If git is not installed in the system, the CLI wizard will throw the following exception.
We will now check to see if you have the necessary client tools installed.
Checking for git ... /var/lib/gems/1.9.1/gems/rhc-0.93.18/lib/rhc/wizard.rb:524:in ``': No such file or directory - git --version (Errno::ENOENT)
from /var/lib/gems/1.9.1/gems/rhc-0.93.18/lib/rhc/wizard.rb:524:in `has_git?'
from /var/lib/gems/1.9.1/gems/rhc-0.93.18/lib/rhc/wizard.rb:488:in `generic_unix_install_check'
from /var/lib/gems/1.9.1/gems/rhc-0.93.18/lib/rhc/wizard.rb:288:in `install_client_tools_stage'
from /var/lib/gems/1.9.1/gems/rhc-0.93.18/lib/rhc/wizard.rb:43:in `block in run'
from /var/lib/gems/1.9.1/gems/rhc-0.93.18/lib/rhc/wizard.rb:41:in `each'
from /var/lib/gems/1.9.1/gems/rhc-0.93.18/lib/rhc/wizard.rb:41:in `run'
from /var/lib/gems/1.9.1/gems/rhc-0.93.18/lib/rhc-common.rb:1254:in `default_setup_wizard'
from /var/lib/gems/1.9.1/gems/rhc-0.93.18/bin/rhc:41:in `<top (required)>'
from /usr/local/bin/rhc:19:in `load'
from /usr/local/bin/rhc:19:in `<main>'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. a system w/o git installed.
see stact trace above
a more friendly warning about missing the require tool git.
Fixed earlier this sprint - is in the version of the tool we want to push this monday.
Checked on Fedora17 with ruby 1.9.3 installed. Issue has been fixed.
Checking for git ... needs to be installed
Automated installation of client tools is not supported for your platform. You will need to manually install git for full OpenShift functionality.
(In reply to comment #2)
> Checked on Fedora17 with ruby 1.9.3 installed. Issue has been fixed.
> Checking for git ... needs to be installed
> Automated installation of client tools is not supported for your platform.
> You will need to manually install git for full OpenShift functionality.