Oliver Howells
Oliver Howells

Reputation: 29

rhc setup - command not found

I am working on a MacBook Air, OS X 10.10 (Yosemite)

After successfully installing

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?

Upvotes: 2

Views: 915

Answers (1)

James Reimer
James Reimer

Reputation: 196

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

Upvotes: 2

Related Questions