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.
我用来echo project-name > .rbenv-gemsets为 rbenv 创建一个新的 gemset。
echo project-name > .rbenv-gemsets
你如何检查它是否正在使用这个 gemset?
gem list全局 gemset 是空的,所以当我在新 gemset 上运行它时,它什么也没告诉我。
gem list
做一个rbenv gemset active
rbenv gemset active
如果您已正确设置 rbenv 和 rbenv-gemset,您将看到以下输出:
项目名称全局