0

我正在尝试从自定义映像在 Docker 容器中运行 mailcatcher,但出现以下错误:

# ruby -v
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux-gnu]
# which mailcatcher
/usr/local/bundle/bin/mailcatcher
# mailcatcher
Traceback (most recent call last):
    1: from /usr/local/bundle/bin/mailcatcher:23:in `<main>'
/usr/local/bundle/bin/mailcatcher:23:in `load': cannot load such file -- /usr/local/bundle/gems/mailcatcher-0.8.1/bin/mailcatcher (LoadError)
#

我已经检查过并且/usr/local/bundle/gems/mailcatcher-0.8.1/bin/mailcatcher确实存在,所以我很困惑。任何帮助表示赞赏

4

0 回答 0