![Openldap 和 ruby 无法使用 ruby 命令](https://linux22.com/image/793953/Openldap%20%E5%92%8C%20ruby%E2%80%8B%E2%80%8B%20%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%20ruby%E2%80%8B%E2%80%8B%20%E5%91%BD%E4%BB%A4.png)
你好,我是 openldap 的新手,我遇到了一个问题,我已经知道它 5 天了,我一直在寻找失败的原因,但我什么也没找到。
命令是这个
ruby publish.rb dev app100 password app101-x-requests
它在 Docker 容器中运行
Traceback (most recent call last):
2: from app102.rb:1:in `<main>'
2: from app101.rb:1:in `<main>'
1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': : cannot load such file -- bunnycannot load such file -- bunny ( (LoadErrorLoadError)
)
Traceback (most recent call last):
2: from app100.rb:1:in `<main>'
1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- bunny (LoadError)