Search code examples
openshiftopenshift-client-tools

rhc setup undefined method `[]' for nil:NilClass


I am trying to setup the OpenShift Client tool rhc on my Mac but I keep getting the following error:

An unexpected error occured: undefined method `[]' for nil:NilClass

I have tried updating Ruby to the latest version from MacRuby and I have Git & Xcode installed.

I have manually installed the net-ssh gem as it was mentioned in another post but that made no difference. I also tried to install various alternative versions of highline (.11, .12, .14 & the latest = .21), but again, it made no difference.

Any ideas what else I can try?


Solution

  • The rhc gem has been updated, please run gem update rhc and you will get the newest fixed version which is rhc-1.25.3