Operation not permitted - /usr/bin/update_rubygems

后端 未结 8 1018
星月不相逢
星月不相逢 2020-12-07 17:33

When I execute on osx El Capitan:

sudo gem update --system  

I got the error:

Updating rubygems-update
ERROR:  While execut         


        
8条回答
  •  南方客
    南方客 (楼主)
    2020-12-07 18:16

    Starting with El Capitan, Apple prevents user applications to modify /usr/bin for security reasons. So just install/update rubygems in the recommended folder, /usr/local/bin:

    sudo gem update -n /usr/local/bin --system
    

提交回复
热议问题