【转】Windows本地方式安装OpenShift客户端工具rhc

在Windows环境下搭建OpenShift环境,安装客户端工具rhc,首先需要安装Ruby和Git,参阅https://developers.openshift.com/en/getting-started-client-tools.html#windows。 在正确安装Ruby和Git之后,使用RubyGems包管理器(Ruby内置)安装OpenShift的客户端工具rhc。 官方提供的方式为:gem install rhc,但可能是网络原因所致,执行命令后提示错误信息: ERROR:  Could not find a valid gem ‘rhc’ (>= 0), here is why: Unable to download data from https://rubygems.org/ – Errno::ECONNREFUS ED: No connection could be made because the target machine actively refused it. – connect(2) (https://rubygems.org/latest_specs.4.8.gz) 参阅StackOverFlow的一个解答:http://stackoverflow.com/questions/19745960/unable-to-install-any-gem-by-ruby-in-windows “This is most likely due to running over a secure (https) connection […]