本文介绍了适用于Windows的openshift客户端工具,rhc安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
C:\files\ruby>rhc setup --debug
DEBUG: Using config file C:/Users/files/.openshift/express.conf
DEBUG: Running greeting_stage
OpenShift Client Tools (RHC) Setup Wizard
This wizard will help you upload your SSH keys, set your application namespace,
and check that other programs like Git are properly installed.
DEBUG: Running login_stage
DEBUG: Connecting to https://openshift.redhat.com/broker/rest/api
DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Created new httpclient
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api
DEBUG: code 200 3167 ms
DEBUG: Server supports API versions 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Using API version 1.7
DEBUG: Client API version 1.7 is not current. Refetching API
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api
DEBUG: code 200 392 ms
DEBUG: Getting user info
DEBUG: Request GET https://openshift.redhat.com/broker/rest/user
DEBUG: undefined method `[]' for nil:NilClass (NoMethodError)
当我尝试从Windows Vista中的命令提示符运行rhc setup
时,看到错误undefined method '[]' for nil:NilClass (NoMethodError)
I see the error undefined method '[]' for nil:NilClass (NoMethodError)
when i try to run rhc setup
from my command prompt in windows vista
也不确定这是否重要,但是没有这样的文件C:/Users/files/.openshift/express.conf
Also not sure whether this is important but there is no such file C:/Users/files/.openshift/express.conf
谢谢
推荐答案
httpclient gem版本2.4.0不适用于该向导,您必须将其卸载并安装版本2.3.4.1
the httpclient gem version 2.4.0 is not working with the wizard, you have to uninstall it and install the version 2.3.4.1
这篇关于适用于Windows的openshift客户端工具,rhc安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!