What causes terminal to enter a loop outputting “? You must enter a valid HighLine::String” after typing in Openshift login in rhc setup?

StackOverflow https://stackoverflow.com/questions/12192943

質問

I have followed the instructions for setting up Openshift on Mac here, but when I reach step 2 and write my Openshift login, the terminal enters a loop where it outputs

"? You must enter a valid HighLine::String". 

Does anyone know what that could be about?

EDIT: As requested, here is a copy/paste of the terminal output:

$ rhc setup

Starting Interactive Setup for OpenShift's command line interface

We'll help get you setup with just a couple of questions. You can skip this in the future by copying your config's around:

/Users/videre/.openshift/express.conf
/Users/videre/.ssh/

To connect to openshift.redhat.com enter your OpenShift login (email or Red Hat login id):

After entering the id, I get an infinite loop of the following:

? You must enter a valid HighLine::String.

In case it is of any use/interest, here is the output when requesting the rhc version:

$ gem list rhc

*** LOCAL GEMS ***

rhc (0.97.17)

EDIT 2

Highline version:

$ gem list highline

*** LOCAL GEMS ***

highline (1.6.14, 1.5.0)

役に立ちましたか?

解決

It could be an old version of highline - can you do 'gem list highline' to see what version you have?

EDIT: A similar issue as you described was fixed in highline 1.6.8, and this link http://www.dahotre.com/programmings/capistrano-problem-must-enter-valid-highline-string describes a similar problem.

Can you try the following

gem install highline --version 1.6.13
gem uninstall highline --version 1.6.14

and see if that resolves your issue?

他のヒント

Someone else has seen this issue with highline-1.6.14 in another app.

You can try this:

gem uninstall highline --version 1.6.14
gem install highline --version 1.6.13
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top