jeffreys-air:~ Jeffrey$ gem install rails
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
我不知道这意味着什么。有人请解释
答案 0 :(得分:0)
使用gem update --system升级Ruby gem Manager:
$ gem update --system
将此添加到您的 .bash_profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*