0

尝试这样做时,gem install bundle我得到了这个:

ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions into the /Library/Ruby/Gems/1.8 directory.

我该如何解决?

4

1 回答 1

2

使用 sudo 进行 root 访问

sudo gem install bundle
于 2012-12-14T02:05:17.580 回答