rhc setup gives error `no such file dl/import`
Updating net-ssh to 2.9.3.beta1, as cremno suggested in this comment, resolved my problem.
gem install net-ssh -v 2.9.3.beta1
Before that, I tried gem install net-ssh
, but it didn't help.
If you are running Windows 10 Pro x64, try installing Ruby
2.1.8 (x64) with Git Version 2.7.0. This will surely allow you to run rhc setup
as it did happened with me. Earlier I had a problem running & installing latest version of Ruby 2.2.4 (x64)
but when I downgraded to ruby version 2.1.8 (x64)
I was able to run rhc setup
and configure OpenShift client tools
on Windows. See the image for Ruby version I'm using - ruby 2.1.8p440 (2015-12-16 revision 53160) [x64-mingw32]
Read here for getting started to OpenShift client tools
on windows.
I ran into this problem when I used the latest version of Ruby (currently 2.2.1) as stated on the OpenShift setup instructions. I fixed it by:
- Installing Ruby 1.9.3
- Re-running "gem install rhc"
After that, I was able to run "rhc setup" without any issue.