Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
默认情况下,捆绑器将 gems 安装到系统根目录中。 但我想将 gems 安装到 $HOME 中。 我该怎么做?
您需要编辑 ~/.gemrc 文件并添加到其中:
gem: --local