-
Notifications
You must be signed in to change notification settings - Fork 208
rhc setup hangs at password submission. #747
Comments
So from everything I've researched about using RHC with windows, apparently it works best when used with Ruby 1.9.3.pX (today that's 1.9.3.p551) I didn't realize there was a link on the Ruby download page to Archives>>. Remove other versions of Ruby (or just reset the windows environment variable path to point to c:/Ruby193/bin ) and RHC performs well. So I can close this problem, but the real fix is to upgrade the RHC tool to accommodate a modern version of Ruby. In the interim, can I submit a pull request that defines this requirement for windows users on the readme.md? |
Proposed addendum to the readme.md notes Windows Notes:For Windows users, the RHC tool works best when created using Ruby v1.9.3.x Recommend you download that from Ruby Archives>> download page. You will likely have to manually set your Path in the Windows System Environment variable to point to |
Same problem here. I have ruby -v 2.1.8. Yesterday it was 2.0.0 and rhc worked well. |
Same problem with rhc 1.38.4:
|
Doesn't work on any version of Ruby with Windows 8.1. Tried it with:
|
Solution: Run "rhc setup" in PowerShell instead of bash Had the sam problems with ruby 1.9.3p551 with the bash from msys/git. Tried the same in the Power Shell, it worked like a charm. Even the password wasn't displayed as cleartext anymore! |
(to rhc contributors) Since I updated my git bash to the latest version I noticed that git bash doesn't handle carriage return in the same way as before (for stdin). This update had break some of my shell scripts. I dont know but maybe this could be one cause of that rhc issue under git bash... (to @pfirpfel) thanks for that workaround. On my side seems not working under Powershell too :( I even tried under cygwin using ".bat" tips, and seems http(s)_proxy env vars are not undertaken anymore by "rhc.bat"... Attempt with an older version of rhc (1.36.4, 1.37.1) - tip0 tip1 tip2 : same results Finally I just succeed with rhc using "cmd.exe" or "git-cmd.exe" (instead of "git-bash.exe") with https_proxy env... my conf: Windows 7 + ruby 1.9.3p551 (2014-11-13) [i386-mingw32] + rhc 1.38.4 |
The CLI has been updated use https://docs.openshift.com/enterprise/3.0/cli_reference/get_started_cli.html#installing-the-cli |
Not sure what is going on here. I'm trying to use
$ rhc setup
but the thing hangs on my password.Install seems fine (note: I'm using
$ ruby -v
-->ruby 2.1.8p440 (2015-12-16 revision 53160) [x64-mingw32]' and git bash command line tool in windows...
$ git --version-->
git version 2.7.2.windows.1` I'm using windows 10, 64 bit. Folks tell me this combo should work.Then its on to ...
At this point the program just hangs. No error message. no feedback. No nothing. Wait 20 minutes or so, hit control C and it responds back with
$ (password in the clear) bash XYZ$ (i.e. the first three characters of my password): command not found.
This whole thing is baffling. I've never seen a command line editor function like this for password entry. Generally the password is pasted or typed in, but the display shows nothing. I've tried both paste and manual typing of the password, but it ALWAYS displays in clear text. Am I doing this wrong? One question. I'm not a ruby guy. Is there an IDE that I can step thru the
rhc setup
so I can see for myself what is going awry? Why would there ever be a program that just hangs without any feedback at all? (insert rant here...)The text was updated successfully, but these errors were encountered: