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.
应该如何从 rbenv 中删除红宝石?从 rbenv “它是如何工作的”看来,人们可以简单地从版本目录中删除 ruby 版本,然后执行rbenv rehash. 有谁肯定知道吗?
rbenv rehash
是的,仅此而已。您可能需要确保将默认 Ruby 版本设置为您也不会删除的版本。