gpt4 book ai didi

ruby - bundle : `require' : cannot load such file -- thread/pool (LoadError)

转载 作者:数据小太阳 更新时间:2023-10-29 08:59:45 25 4
gpt4 key购买 nike

我在尝试运行这段名为 CiscoBruter ( https://github.com/R3dy/ciscobruter/ ) 的代码时遇到问题,我遇到了这些错误。

/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- thread/pool (LoadError)
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from ./ciscobruter.rb:6:in `<main>'

当运行'bundle install'时,这是代码

  Fetching git://github.com/meh/ruby-thread.git
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Resolving dependencies...
Using hitimes 1.2.4
Using coderay 1.1.1
Using method_source 0.8.2
Using slop 3.6.0
Using ruby-progressbar 1.8.1
Using thread 0.2.2 from git://github.com/meh/ruby-thread.git (at master@d0e99c2)
Using bundler 1.12.5
Using timers 4.1.1
Using pry 0.10.4
Using celluloid-essentials 0.20.5
Using celluloid-extras 0.20.5
Using celluloid-fsm 0.20.5
Using celluloid-pool 0.20.5
Using celluloid-supervision 0.20.6
Using celluloid 0.17.3
Bundle complete! 4 Gemfile dependencies, 15 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
root@HaroonB-HomeUbuntu:/var/www/DisHack/ciscobruter# bundle sho
Gems included by the bundle:
* bundler (1.12.5)
* celluloid (0.17.3)
* celluloid-essentials (0.20.5)
* celluloid-extras (0.20.5)
* celluloid-fsm (0.20.5)
* celluloid-pool (0.20.5)
* celluloid-supervision (0.20.6)
* coderay (1.1.1)
* hitimes (1.2.4)
* method_source (0.8.2)
* pry (0.10.4)
* ruby-progressbar (1.8.1)
* slop (3.6.0)
* thread (0.2.2 d0e99c2)
* timers (4.1.1)

请有人帮助我并解释我做错了什么?

提前致谢

最佳答案

已修复!通过运行这些命令

gem install thread

gem install pool

关于ruby - bundle : `require' : cannot load such file -- thread/pool (LoadError),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39307020/

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