当我收到以下错误时,我正在我的 Mac 上安装 Rails(gem install rails):
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the Users/[myusername]/.rvm/gems/ruby-1.9.3-p429/bin directory.
我是通过 rbenv 安装的。我安装了 ruby-2.0.something 和 ruby-1.9.3-p428。
任何帮助,将不胜感激。谢谢 :)