rhc setup - 找不到命令 [英] rhc setup - command not found
问题描述
我正在使用MacBook Air,OS X 10.10(Yosemite)
成功安装后
- Ruby 4.1.6和
- Git 1.9.3(Apple Git-50)
- OpenShift客户端工具
rhc-1.30.2.gem
我收到以下讯息:
如果这是你第一次安装RHC工具,请运行'rhc setup'
但是,当我运行 rhc setup
(根据OpenShift文档),我只是得到这个:
Olivers-MacBook-Air-4:〜oliverhowells $ rhc setup
-bash:$:command not found
我想设置一个SSH密钥,但只要我收到此错误, OpenShift向导并继续。
这是我从OpenShift查看的文档的链接:
https://developers.openshift.com/en/managing-remote-connection.html
我在安装后遇到这个问题 rbenv 。我通过从命令行运行 rbenv rehash
来修复它。
I am working on a MacBook Air, OS X 10.10 (Yosemite)
After successfully installing
- Ruby 4.1.6 and
- Git 1.9.3 (Apple Git-50)
- OpenShift client tools
rhc-1.30.2.gem
I got this message:
If this is your first time installing the RHC tools, please run 'rhc setup'
But, when I run rhc setup
(according the the OpenShift documentation) I just get this back:
Olivers-MacBook-Air-4:~ oliverhowells$ rhc setup
-bash: $: command not found
I want to set up an SSH key, but as long as I get this error, I am not sure how to launch the OpenShift wizard and move forward.
Here is a link to the documentation I am looking at from OpenShift: https://developers.openshift.com/en/managing-remote-connection.html
Do you have any ideas how to proceed?
I had this issue after installing using rbenv. I fixed it by running rbenv rehash
from the command line.
这篇关于rhc setup - 找不到命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!