当前位置: 代码迷 >> 综合 >> ERROR: While executing gem ... (Errno::EACCES) Permission denied @ dir_s_mkdir - /var/lib/gems
  详细解决方案

ERROR: While executing gem ... (Errno::EACCES) Permission denied @ dir_s_mkdir - /var/lib/gems

热度:22   发布时间:2023-11-25 00:44:33.0

ERROR: While executing gem ... (Errno::EACCES) Permission denied @ dir_s_mkdir - /var/lib/gems

在执行 gem install bundler 时出错

原因:权限不够

前面加个 sudo

sudo gem install bundler

就OK

  相关解决方案