make:/usr/bin/mkdir:在 Ubuntu 20.04 中的“gem install nokogiri”期间找不到命令

make: /usr/bin/mkdir: Command not found during `gem install nokogiri` in Ubuntu 20.04

我已经安装了它找不到的所有必要库(libxslt-dev、libxml2-dev),指定 -- --with-xml2-include=/usr/include/libxml2 --use-system-libraries,但它仍然失败

make "DESTDIR=" install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.-.nokogiri.time] Error 127

sudo ln -s /bin/mkdir /usr/bin/mkdir