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 README 中很常见:
Installation: gem 'foo' Or, from the latest build: gem 'foo', git: 'bar'
为什么最新版本总是来自 git repo,而不是来自 gem 服务器?“最新版本”是什么意思?
Gems 仅在开发中的离散点发布(例如,当某些里程碑,如新功能或错误修复完成时),RubyGems 仅托管这些离散版本。另一方面,“最新版本”是当时源代码库中存在的最新版本,并且包含最新的开发——可能包括一些错误、回归或不完整的功能,但也可能包括最新的错误修复和功能。