RVM:清空 GemSet 后剩余的 Gem



我发现即使清空了宝石组,我仍然有宝石。这是怎么回事?

~/gray/infrastructure (master)[]$ rvm-prompt
ruby-2.3.0-preview1@infrastructure
~/gray/infrastructure (master)[]$ rvm gemset empty infrastucture
Are you SURE you wish to remove the installed gems for /Users/redacted/.rvm/gems/ruby-2.3.0-preview1@infrastructure?
(anything other than 'yes' will cancel) > yes
installing gem /Users/redacted/.rvm/gem-cache/gem-empty-1.1.2.gem --local --no-ri --no-rdoc.
Successfully uninstalled gem-empty-1.1.2
Removed successfully.
~/gray/infrastructure (master)[]$ 
~/gray/infrastructure (master)[]$ 
~/gray/infrastructure (master)[]$ 
~/gray/infrastructure (master)[]$ gem list
*** LOCAL GEMS ***
bigdecimal (1.2.7)
bundler-unload (1.0.2)
did_you_mean (1.0.0.beta3)
executable-hooks (1.3.2)
gem-wrappers (1.2.7)
io-console (0.4.3)
json (1.8.2)
minitest (5.8.2)
net-telnet (0.1.1)
power_assert (0.2.6)
psych (2.0.14)
rake (10.4.2)
rdoc (4.2.0)
rubygems-bundler (1.4.4)
rvm (1.11.3.9)
test-unit (3.1.5)
~/gray/infrastructure (master)[]$ 

我正在尝试从头开始我的应用程序。

这些是全局宝石集中的宝石。有关信息,请参阅 https://rvm.io/gemsets/global。

如果您想摆弄它们rvm gemset use global然后根据需要进行调整。

相关内容

  • 没有找到相关文章

最新更新