gpt4 book ai didi

ruby - "rhc setup"抛出以下错误

转载 作者:太空宇宙 更新时间:2023-11-03 18:21:35 24 4
gpt4 key购买 nike

C:/Ruby187/lib/ruby/gems/1.8/gems/highline-1.6.19/lib/highline/system_extensions.rb:81: undefined method `dlload' for HighLine::SystemExtensions::WinAPI:Module(NoMethodError)
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/highline-1.6.19/lib/highline.rb:14
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/highline-1.6.19/lib/highline/import.rb:8
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/commander-4.1.3/lib/commander.rb:24
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rhc-1.10.7/lib/rhc.rb:30
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rhc-1.10.7/lib/rhc/cli.rb:1
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rhc-1.10.7/bin/rhc:18
from C:/Ruby187/bin/rhc:23:in `load'
from C:/Ruby187/bin/rhc:23

我使用 Ruby Installer 1.8 版本安装了 ruby​​,因为我的应用程序需要这个版本的 ruby​​。

最佳答案

可能是最近引入的 highline 错误 (https://github.com/JEG2/highline/issues/83) - 尝试卸载 highline 1.6.19 并尝试 1.6.18 或 17 -

gem uninstall highline --version 1.6.19
gem install highline --version 1.6.18

关于ruby - "rhc setup"抛出以下错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17469852/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com