【发布时间】:2019-01-10 21:07:39
【问题描述】:
当我在 MacOS 10.13.x 中使用命令gem install bundler 时,错误是:
您没有 /Library/Ruby/Gems/2.3.0 目录的写入权限。
$ gem install bundler
Fetching: bundler-1.16.2.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
【问题讨论】: