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.
我不得不进行一些更改,并更新了已安装 gem 文件夹中的文件。
我应该如何重新打包这个 gem 以使其整体更新?
要重新制作.gem文件,您可以执行gem build <gemspec>. 要将 gem 推送到 Rubygems.org,请执行gem push <built gem>. 有关更多信息,请参见http://rubygems.org/。
.gem
gem build <gemspec>
gem push <built gem>