我在运行名为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

08-16 06:09