Permission denied @ rb_sysopen - /Library/Ruby/Gems/2.3.0/cache/rack-2.0.4.gem

执行脚本gem install fir-cli 就报错了

ERROR: While executing gem ... (Errno::EACCES)

Permission denied @ rb_sysopen - /Library/Ruby/Gems/2.3.0/cache/rack-2.0.4.gem


换一种执行方法?朋友的思路

执行sudo gem install -n /usr/local/bin fir-cli 就可以了,是访问权限的问题

你可能感兴趣的:(Permission denied @ rb_sysopen - /Library/Ruby/Gems/2.3.0/cache/rack-2.0.4.gem)