rhc setup - command not found

你离开我真会死。 提交于 2019-12-24 04:14:07

问题


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?


回答1:


I had this issue after installing using rbenv. I fixed it by running rbenv rehash from the command line.



来源:https://stackoverflow.com/questions/26222885/rhc-setup-command-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!