Rockstar5645
Rockstar5645

Reputation: 4518

rhc setup gives error `no such file dl/import` still

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.

Upvotes: 3

Views: 1854

Answers (2)

Rockstar5645
Rockstar5645

Reputation: 4518

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

Upvotes: 1

Javid Abdul Razack
Javid Abdul Razack

Reputation: 37

Try this in the cmd.

gem install net-ssh -v 2.9.3.beta1

Upvotes: 0

Related Questions