加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows – 设置rhc时出错(红帽客户端工具)

发布时间:2020-12-14 05:45:40 所属栏目:Windows 来源:网络整理
导读:我按照Openshift网站上的说明安装了rhc.当我运行gem install rhc和hgem update rhc时,一切似乎都很好但是当我尝试调用rhc时,我得到以下消息.我已经尝试重新安装 ruby和git,包括32和64条消息.我还认为问题是缺少openssl,但安装没有任何区别. 我已经没有想法了
我按照Openshift网站上的说明安装了rhc.当我运行gem install rhc和hgem update rhc时,一切似乎都很好但是当我尝试调用rhc时,我得到以下消息.我已经尝试重新安装 ruby和git,包括32和64条消息.我还认为问题是缺少openssl,但安装没有任何区别.

我已经没有想法了,任何帮助都会非常感激

c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `requir
e': cannot load such file -- dl/import (LoadError)
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/
authentication/pageant.rb:1:in `<top (required)>'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/
authentication/agent/socket.rb:5:in `<top (required)>'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/
authentication/agent.rb:22:in `<top (required)>'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/
authentication/key_manager.rb:4:in `<top (required)>'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/
authentication/session.rb:4:in `<top (required)>'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh.
rb:11:in `<top (required)>'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/ssh_hel
pers.rb:18:in `<top (required)>'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/wizard.
rb:77:in `<class:Wizard>'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/wizard.
rb:7:in `<module:RHC>'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/wizard.
rb:6:in `<top (required)>'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/command
s/base.rb:4:in `<top (required)>'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/command
s/account.rb:2:in `<module:Commands>'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/command
s/account.rb:1:in `<top (required)>'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:
54:in `require'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/command
s.rb:189:in `block in load'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/command
s.rb:188:in `each'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/command
s.rb:188:in `load'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/lib/rhc/cli.rb:
36:in `start'
        from c:/local/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.1/bin/rhc:20:in `
<top (required)>'
        from c:/local/Ruby22/bin/rhc:23:in `load'
        from c:/local/Ruby22/bin/rhc:23:in `<main>'

解决方法

在网站的其他地方找到解决方案( rhc setup gives error `no such file dl/import`)

gem install net-ssh -v 2.9.3.beta1

…安装测试版的net-ssh.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读