3

I'm installing openshift client tools as described: https://developers.openshift.com/en/getting-started-windows.html#client-tools. On step 'Setting up Your Machine' I got an error.

rhc setup C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' : cannot load such file -- dl/import (LoadError)

The solution the problem is here but it's not working for me, even after I installed the gem and run

rhc setup

I'm still getting the same errors. What am I doing wrong? I downloaded Ruby 2.2.3 (x64) and I'm on windows 7.

Community
  • 1
  • 1
Rockstar5645
  • 4,376
  • 8
  • 37
  • 62

2 Answers2

1

install Ruby 2.0.0-p647 (x64) and not the later versions. suggested by fat fantasma in the comments

Rockstar5645
  • 4,376
  • 8
  • 37
  • 62
0

Try this in the cmd.

gem install net-ssh -v 2.9.3.beta1

  • No. `$ gem install net-ssh -v 2.9.3.beta1 ERROR: Could not find a valid gem 'net-ssh' (= 2.9.3.beta1), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/specs.4.8.gz) ` Is it just me, or is RHC just too fragile? This happens each time I need to use OpenShift... – zipzit Nov 09 '15 at 22:32