<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

 <title>RubyGems Blog</title>
 <link href="https://blog.rubygems.org/atom.xml" rel="self"/>
 <link href="https://blog.rubygems.org/"/>
 <updated>2026-11-26T06:41:39+00:00</updated>
 <id>https://blog.rubygems.org/</id>
 <author>
   <name>RubyGems Team</name>
   <email>support@rubygems.org</email>
 </author>

 
 <entry>
   <title>4.1.1 Released</title>
   <link href="https://blog.rubygems.org/2026/11/25/4.1.1-released.html"/>
   <updated>2026-11-25T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/11/25/4.1.1-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems and Bundler 4.1.1 include enhancements, bug fixes and documentation.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.1.1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;release-notes&quot;&gt;Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;rubygems&quot;&gt;RubyGems&lt;/h3&gt;

&lt;h4 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Installs bundler 4.1.1 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Fix file permissions during gem extraction. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10128&quot;&gt;#10128&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Resolve chained symlink targets before creating them during extraction. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10119&quot;&gt;#10119&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Keep negative any terms when PubGrub resolves conflicts. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10112&quot;&gt;#10112&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Serialize concurrent installs of the same gem. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10107&quot;&gt;#10107&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Keep resolved prereleases when sorting install requests. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10100&quot;&gt;#10100&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Forward keyword arguments in the IPv4 fallback TCPSocket#initialize. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10098&quot;&gt;#10098&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Push attestations with non-ASCII bytes on Ruby 3.2 and 3.3. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10097&quot;&gt;#10097&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Gem::YAMLSerializer::Parser only reads the first document of a YAML stream. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10088&quot;&gt;#10088&lt;/a&gt; by Ben Sheldon and Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bundler&quot;&gt;Bundler&lt;/h3&gt;

&lt;h4 id=&quot;bug-fixes-1&quot;&gt;Bug fixes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Assign the specs missing from the shard list to shard_d. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10127&quot;&gt;#10127&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Require a digest on every content-addressed row of a checksummed lockfile. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10122&quot;&gt;#10122&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Keep frozen installs to gems the lockfile covers for content-addressed rows. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10120&quot;&gt;#10120&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Stop shipping the URI and YAML serializer entry files in the Bundler gem. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10113&quot;&gt;#10113&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Keep negative any terms when PubGrub resolves conflicts. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10112&quot;&gt;#10112&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Check gem requirements when locking from legacy indexes. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10111&quot;&gt;#10111&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Retry resolution with transitive prereleases. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10110&quot;&gt;#10110&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Explain activation conflicts caused by a Gemfile require. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10109&quot;&gt;#10109&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Allow full updates to downgrade a yanked gem. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10106&quot;&gt;#10106&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Honor &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--prefer-local&lt;/code&gt; when locking platform variants. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10108&quot;&gt;#10108&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Honor &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--jobs&lt;/code&gt; when installing from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;vendor/cache&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10102&quot;&gt;#10102&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Allow &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle lock --add-platform&lt;/code&gt; to add native platforms from JRuby. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10105&quot;&gt;#10105&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Show fourth-segment and prerelease updates in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle outdated --filter-patch&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10103&quot;&gt;#10103&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Preserve inline settings after a forked install. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10099&quot;&gt;#10099&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Resolve dependencies before &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle add&lt;/code&gt; updates the Gemfile. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10101&quot;&gt;#10101&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Keep mirror settings readable by Bundler 4.0. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10075&quot;&gt;#10075&lt;/a&gt; by Paul Wille&lt;/li&gt;
  &lt;li&gt;Fix Gem::URI redefinition warnings on older RubyGems. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10074&quot;&gt;#10074&lt;/a&gt; by Paul Wille and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Read plugin index sections that are not hashes as empty. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10076&quot;&gt;#10076&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;documentation&quot;&gt;Documentation:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Document that bundle lock –add-checksums leaves entries for uninstalled gems empty. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10121&quot;&gt;#10121&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.1.1.tgz&lt;br /&gt;
fac638221256dfef477c98bbe955f10908a7f9fc046ba4de9ed13595e6181a51&lt;/li&gt;
  &lt;li&gt;rubygems-4.1.1.zip&lt;br /&gt;
a4145eba60c3a504be9c67d0ebe0f4889762d1303913142ccba9348259e05719&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.1.1.gem&lt;br /&gt;
5e134b57c8998efdb4684da6ee30f348617196329e2ab9435a75e2b67450e9c2&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>4.0.25 Released</title>
   <link href="https://blog.rubygems.org/2026/11/25/4.0.25-released.html"/>
   <updated>2026-11-25T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/11/25/4.0.25-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems 4.0.25 includes bug fixes and Bundler 4.0.25 includes bug fixes.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.0.25
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;rubygems-release-notes&quot;&gt;RubyGems Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Fix file permissions during gem extraction. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10128&quot;&gt;#10128&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Resolve chained symlink targets before creating them during extraction. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10119&quot;&gt;#10119&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Forward keyword arguments in the IPv4 fallback TCPSocket#initialize. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10098&quot;&gt;#10098&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;bundler-release-notes&quot;&gt;Bundler Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;bug-fixes-1&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Retry resolution with transitive prereleases. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10110&quot;&gt;#10110&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Allow full updates to downgrade a yanked gem. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10106&quot;&gt;#10106&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Allow &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle lock --add-platform&lt;/code&gt; to add native platforms from JRuby. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10105&quot;&gt;#10105&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Show fourth-segment and prerelease updates in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle outdated --filter-patch&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10103&quot;&gt;#10103&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Resolve dependencies before &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle add&lt;/code&gt; updates the Gemfile. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10101&quot;&gt;#10101&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Read plugin index files that Bundler 4.1 writes. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10077&quot;&gt;#10077&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Preload git sources that share a cache one after another: 4.0.x. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10069&quot;&gt;#10069&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Fix Bundler mirror probing with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fallback_timeout&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10046&quot;&gt;#10046&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.0.25.tgz&lt;br /&gt;
ac6483970bbf0cf443315a9f34f4bbafd68efaee42658f0ef7ce4334ae001750&lt;/li&gt;
  &lt;li&gt;rubygems-4.0.25.zip&lt;br /&gt;
372ee09acbb8dfc8f33ee20eb9c31bd06f74733db8f885e3f1a97a977175b12d&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.0.25.gem&lt;br /&gt;
8e2a29f3efe00dbe5114b2e8b1cec8659a696b7ed59aaaf62f7706888ff68a49&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>Content-Addressable Gems: the new way of packaging precompiled binaries</title>
   <link href="https://blog.rubygems.org/2026/11/23/content-addressable-gems.html"/>
   <updated>2026-11-23T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/11/23/content-addressable-gems</id>
   <author><name>Jenny Shen</name></author>
   <content type="html">&lt;p&gt;RubyGems 4.1 introduces &lt;strong&gt;content-addressable gems&lt;/strong&gt;: precompiled gems built for a single Ruby ABI, which makes them smaller and lets maintainers support new Rubies without a new release.&lt;/p&gt;

&lt;h3 id=&quot;where-we-are-today&quot;&gt;Where we are today&lt;/h3&gt;

&lt;p&gt;A gem with a native extension that ships precompiled, such as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nokogiri-1.18.9-x86_64-linux.gem&lt;/code&gt;, skips compilation entirely, which speeds up &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle install&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;But precompiled gems are larger than they need to be. A compiled extension only loads on the Ruby ABI it was built against, meaning the major and minor version of Ruby, such as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;3.4&lt;/code&gt;. Since a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.gem&lt;/code&gt; file is identified only by its name, version, and platform, one file per platform has to bundle a copy of the extension for every supported Ruby. We’ll call this a multi-ABI platform gem:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;nokogiri-1.18.9-x86_64-linux.gem
└── lib/nokogiri/
    ├── 3.1/nokogiri.so
    ├── 3.2/nokogiri.so
    ├── 3.3/nokogiri.so
    └── 3.4/nokogiri.so
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Most people run one Ruby, so they download four binaries to use one. Maintainers ship code to pick the right binary at load time. And when a new Ruby comes out, there is no way to add a binary for it to an existing release.&lt;/p&gt;

&lt;h3 id=&quot;content-addressable-gems&quot;&gt;Content-addressable gems&lt;/h3&gt;

&lt;p&gt;Content-addressable gems publish one precompiled gem per Ruby ABI. Since those files would all share the same &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;name-version-platform&lt;/code&gt; name, each is named after a prefix of its SHA-256 checksum instead. For example, &lt;a href=&quot;https://rubygems.org/gems/rubydex&quot;&gt;rubydex&lt;/a&gt; 0.4.4 publishes both kinds:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;rubydex-0.4.4-x86_64-linux.gem   # multi-ABI platform gem, every Ruby ABI
rubydex-0.4.4-aff68219.gem       # content-addressable gem, one Ruby ABI
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The platform and Ruby ABI live in the gem’s metadata instead. Each gem is smaller, and when a new Ruby is released, a maintainer can publish a build for it without cutting a new version.&lt;/p&gt;

&lt;p&gt;Content-addressable gems are supported in RubyGems and Bundler 4.1 and later, and on RubyGems.org. Older clients skip them and keep installing multi-ABI platform gems.&lt;/p&gt;

&lt;p&gt;This work would not have happened without Aaron Patterson, who proposed the idea, Harriet Oughton and Gira Chawda, who contributed to this feature, and friends on the RubyGems and RubyGems.org teams, who guided it through to release.&lt;/p&gt;

&lt;h3 id=&quot;publishing-content-addressable-gems&quot;&gt;Publishing content-addressable gems&lt;/h3&gt;

&lt;p&gt;Building content-addressable gems requires &lt;a href=&quot;/2026/11/16/4.1.0-released.html&quot;&gt;RubyGems 4.1&lt;/a&gt; or later:&lt;/p&gt;

&lt;div class=&quot;language-console highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;gem update &lt;span class=&quot;nt&quot;&gt;--system&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If you precompile with &lt;a href=&quot;https://github.com/rake-compiler/rake-compiler&quot;&gt;rake-compiler&lt;/a&gt;, update to 1.3.2 or later and set &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;content_addressable&lt;/code&gt; on your extension task:&lt;/p&gt;

&lt;div class=&quot;language-ruby highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;no&quot;&gt;Rake&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;ExtensionTask&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;my_gem&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;spec&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;do&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ext&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;
  &lt;span class=&quot;n&quot;&gt;ext&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;cross_compile&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kp&quot;&gt;true&lt;/span&gt;
  &lt;span class=&quot;n&quot;&gt;ext&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;cross_platform&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;x86_64-linux&quot;&lt;/span&gt;
  &lt;span class=&quot;n&quot;&gt;ext&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;content_addressable&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kp&quot;&gt;true&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rake cross native gem&lt;/code&gt; then produces a content-addressable gem for each Ruby in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RUBY_CC_VERSION&lt;/code&gt;, alongside the usual multi-ABI platform gem and the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ruby&lt;/code&gt; gem:&lt;/p&gt;

&lt;div class=&quot;language-console highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;rake cross native gem &lt;span class=&quot;nv&quot;&gt;RUBY_CC_VERSION&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;3.3.11:3.4.9
&lt;span class=&quot;gp&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;ls &lt;/span&gt;pkg
&lt;span class=&quot;go&quot;&gt;my_gem-1.0.gem
my_gem-1.0-x86_64-linux.gem
my_gem-1.0-5d0c19a7.gem
my_gem-1.0-e3f86b21.gem
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Push all of them: older clients keep installing the multi-ABI platform gem, and RubyGems and Bundler 4.1 install the content-addressable one.&lt;/p&gt;

&lt;p&gt;Without rake-compiler, use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem build --content-addressable&lt;/code&gt;. The gemspec needs a platform and a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;required_ruby_version&lt;/code&gt; of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~&amp;gt; X.Y.0&lt;/code&gt;, which &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--ruby-abi&lt;/code&gt; can set for you:&lt;/p&gt;

&lt;div class=&quot;language-console highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;gem build my_gem.gemspec &lt;span class=&quot;nt&quot;&gt;--platform&lt;/span&gt; x86_64-linux &lt;span class=&quot;nt&quot;&gt;--ruby-abi&lt;/span&gt; 3.4 &lt;span class=&quot;nt&quot;&gt;--content-addressable&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If your gem doesn’t ship precompiled yet, now is a good time to start. &lt;a href=&quot;https://github.com/Shopify/cibuildgem&quot;&gt;cibuildgem&lt;/a&gt; generates a GitHub Actions workflow that compiles your gem on each target platform, using rake-compiler under the hood, and pushes the results to RubyGems.org. Set &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;include-single-abi: true&lt;/code&gt; on its action to build content-addressable gems as well.&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://guides.rubygems.org/gems-with-extensions/#publishing-ruby-abi-specific-builds&quot;&gt;Publishing Ruby ABI-specific builds&lt;/a&gt; section of the guides has the full details.&lt;/p&gt;

&lt;h3 id=&quot;installing-content-addressable-gems&quot;&gt;Installing content-addressable gems&lt;/h3&gt;

&lt;p&gt;Once you are on RubyGems and Bundler 4.1, there is nothing to do. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem install&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle install&lt;/code&gt; prefer a content-addressable gem that matches your platform and Ruby ABI, then fall back to a multi-ABI platform gem, then to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ruby&lt;/code&gt; gem. Bundler uses the version under &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;BUNDLED WITH&lt;/code&gt; in your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Gemfile.lock&lt;/code&gt;, so switch an app to 4.1 with:&lt;/p&gt;

&lt;div class=&quot;language-console highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;bundle update &lt;span class=&quot;nt&quot;&gt;--bundler&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Lockfiles with content-addressable gems gain two sections. The gem stays listed under its platform in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;GEM&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CONTENT ADDRESSES&lt;/code&gt; records the file and checksum to install for each Ruby ABI:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;CONTENT ADDRESSES
  rubydex (0.4.4-x86_64-linux) 2e4d66c7 abi=3.3 sha256=2e4d66c76a4b55673e93af2d336aa7b0dcd2cb35d124a3307f2a0c7f70cc7dc1
  rubydex (0.4.4-x86_64-linux) aff68219 abi=3.4 sha256=aff682198ca8f6eabce3413c45da7c6429ed78b1414bb426a5c074cd6092c904
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Bundler installs the row that matches the running Ruby. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RUBY ABIS&lt;/code&gt; lists the Ruby ABIs the lockfile covers, much like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PLATFORMS&lt;/code&gt; does for platforms:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;RUBY ABIS
  3.3
  3.4
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Running &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle install&lt;/code&gt; under a new Ruby adds its ABI. With a frozen lockfile, Bundler falls back to the multi-ABI platform gem if it supports that Ruby, or to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ruby&lt;/code&gt; gem if &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ruby&lt;/code&gt; is in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PLATFORMS&lt;/code&gt;. Otherwise the install fails. To add or remove an ABI by hand:&lt;/p&gt;

&lt;div class=&quot;language-console highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;bundle lock &lt;span class=&quot;nt&quot;&gt;--add-ruby-abi&lt;/span&gt; 4.0
&lt;span class=&quot;gp&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;bundle lock &lt;span class=&quot;nt&quot;&gt;--remove-ruby-abi&lt;/span&gt; 3.3
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;looking-ahead&quot;&gt;Looking ahead&lt;/h3&gt;

&lt;p&gt;If you maintain a gem with native extensions, try publishing content-addressable gems alongside your next release. Users on RubyGems and Bundler 4.1 and later install the content-addressable gem right away.&lt;/p&gt;

&lt;p&gt;As more users move to 4.1 and later, gems will be able to rely on content-addressable gems alone and stop publishing a multi-ABI platform gem. We hope they become the default way to ship precompiled gems.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Gemstash 2.9.0 security release, and the end of Gemstash</title>
   <link href="https://blog.rubygems.org/2026/11/19/gemstash-2.9.0-security-release.html"/>
   <updated>2026-11-19T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/11/19/gemstash-2.9.0-security-release</id>
   <author><name>Colby Swandale</name></author>
   <content type="html">&lt;p&gt;Today the RubyGems team released Gemstash 2.9.0, which fixes 8 security vulnerabilities affecting earlier versions. The most serious one is an unauthenticated remote code execution bug, rated Critical with a CVSS v4.0 score of 10.0. If you run Gemstash anywhere, please upgrade to 2.9.0 right away, or turn the service off until you can.&lt;/p&gt;

&lt;h2 id=&quot;what-is-gemstash-and-how-does-it-relate-to-the-rubygems-cli-and-rubygemsorg&quot;&gt;What is Gemstash and how does it relate to the RubyGems CLI and RubyGems.org?&lt;/h2&gt;

&lt;p&gt;Gemstash is a small Ruby server that sits between RubyGems and Bundler clients and an upstream gem source, which is RubyGems.org by default. It caches gems so installs are faster and keep working when the upstream can’t be reached, and it can host private gems too. Older versions let clients pick which upstream Gemstash fetches from, and that’s where several of these vulnerabilities start. &lt;a href=&quot;https://rubygems.org&quot;&gt;RubyGems.org&lt;/a&gt; and the RubyGems CLI are not affected by any of the vulnerabilities we’re disclosing today.&lt;/p&gt;

&lt;h2 id=&quot;the-advisories&quot;&gt;The advisories&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Critical: Remote code execution through unsafe loading of upstream data (&lt;a href=&quot;https://github.com/rubygems/gemstash/security/advisories/GHSA-27cp-f4p8-8qwv&quot;&gt;GHSA-27cp-f4p8-8qwv&lt;/a&gt;)&lt;/li&gt;
  &lt;li&gt;High: Server-side request forgery and open redirect through client-chosen upstreams (&lt;a href=&quot;https://github.com/rubygems/gemstash/security/advisories/GHSA-xfw4-3v4j-82mr&quot;&gt;GHSA-xfw4-3v4j-82mr&lt;/a&gt;)&lt;/li&gt;
  &lt;li&gt;High: Memory exhaustion from oversized upstream responses (&lt;a href=&quot;https://github.com/rubygems/gemstash/security/advisories/GHSA-c927-fwqw-cm2g&quot;&gt;GHSA-c927-fwqw-cm2g&lt;/a&gt;)&lt;/li&gt;
  &lt;li&gt;Medium: Stored cross-site scripting through upstream content served from Gemstash (&lt;a href=&quot;https://github.com/rubygems/gemstash/security/advisories/GHSA-v438-gm7r-2pgf&quot;&gt;GHSA-v438-gm7r-2pgf&lt;/a&gt;)&lt;/li&gt;
  &lt;li&gt;Medium: Unvalidated dependency data cached from upstreams (&lt;a href=&quot;https://github.com/rubygems/gemstash/security/advisories/GHSA-xg28-cqw2-pggq&quot;&gt;GHSA-xg28-cqw2-pggq&lt;/a&gt;)&lt;/li&gt;
  &lt;li&gt;Medium: Pushes could overwrite yanked private gems (&lt;a href=&quot;https://github.com/rubygems/gemstash/security/advisories/GHSA-m64f-hhmc-w7qr&quot;&gt;GHSA-m64f-hhmc-w7qr&lt;/a&gt;)&lt;/li&gt;
  &lt;li&gt;Medium: The private dependencies API ignored protected fetch (&lt;a href=&quot;https://github.com/rubygems/gemstash/security/advisories/GHSA-7frx-567x-v3r6&quot;&gt;GHSA-7frx-567x-v3r6&lt;/a&gt;)&lt;/li&gt;
  &lt;li&gt;Medium: Unauthenticated memory use when receiving gem pushes (&lt;a href=&quot;https://github.com/rubygems/gemstash/security/advisories/GHSA-wgrc-4g2v-9qxv&quot;&gt;GHSA-wgrc-4g2v-9qxv&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All advisories are listed at &lt;a href=&quot;https://github.com/rubygems/gemstash/security/advisories&quot;&gt;https://github.com/rubygems/gemstash/security/advisories&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;before-you-upgrade&quot;&gt;Before you upgrade&lt;/h2&gt;

&lt;p&gt;2.9.0 makes some changes to close these issues:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;It requires Ruby 3.3 or newer.&lt;/li&gt;
  &lt;li&gt;Clients can no longer choose arbitrary upstream sources. Gemstash only fetches from upstreams on its allowed list, which is RubyGems.org by default. If your clients use other upstreams, add them to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:allowed_upstreams&lt;/code&gt; before upgrading. See the &lt;a href=&quot;https://github.com/rubygems/gemstash/blob/main/docs/gemstash-configuration.5.md#allowed-upstreams&quot;&gt;configuration docs&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;If an upstream redirects downloads to another host, such as a CDN, add that host to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:allowed_redirects&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Upstreams that only serve the old Marshal dependency format are no longer supported.&lt;/li&gt;
  &lt;li&gt;Responses from upstreams now have size and time limits: 64 MiB per response (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:max_upstream_bytes&lt;/code&gt;), and 300 seconds per request (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:max_upstream_duration&lt;/code&gt;), with a minimum transfer rate after &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:fetch_timeout&lt;/code&gt;. Raise them if you fetch very large gems or have a slow link to your upstream.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gemstash start&lt;/code&gt; now checks these settings and refuses to start if &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:allowed_upstreams&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:allowed_redirects&lt;/code&gt;, or the new upstream limits are invalid.&lt;/li&gt;
  &lt;li&gt;Cached dependency data is fetched again after the upgrade.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;sunsetting-gemstash&quot;&gt;Sunsetting Gemstash&lt;/h2&gt;

&lt;p&gt;Most of these reports are in how Gemstash fetches and caches gems from an upstream server, which is its core job, and keeping that safe takes ongoing security work. These days, many teams that need a private gem server or a RubyGems.org cache use a general-purpose artifact registry or package proxy instead, one that handles gems alongside all their other packages.&lt;/p&gt;

&lt;p&gt;For these reasons, the RubyGems team has decided to sunset Gemstash. 2.9.0 is the last feature release. The RubyGems team will continue to work on reported vulnerabilities and bug fix contributions. We recommend that anyone running Gemstash plan a move to one of these alternatives:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.jfrog.com/artifactory/docs/rubygems-repositories&quot;&gt;JFrog Artifactory&lt;/a&gt;: hosts private gems and proxies and caches RubyGems.org, self-hosted or as a service.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://help.sonatype.com/en/rubygems-repositories.html&quot;&gt;Sonatype Nexus Repository&lt;/a&gt;: hosted, proxy, and group gem repositories, which combine private gems and a RubyGems.org cache behind one URL.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.cloudsmith.com/formats/ruby-repository&quot;&gt;Cloudsmith&lt;/a&gt;: a managed private gem registry that can proxy and cache RubyGems.org.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/codeartifact/latest/ug/configure-use-rubygems-bundler.html&quot;&gt;AWS CodeArtifact&lt;/a&gt;: managed gem repositories with an &lt;a href=&quot;https://docs.aws.amazon.com/codeartifact/latest/ug/external-connection.html&quot;&gt;external connection to RubyGems.org&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.github.com/packages/working-with-a-github-packages-registry/working-with-the-rubygems-registry&quot;&gt;GitHub Packages&lt;/a&gt;: hosts private gems next to your GitHub repositories, but does not proxy RubyGems.org.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://guides.rubygems.org/using-s3-source/&quot;&gt;An S3 bucket or S3-compatible endpoint&lt;/a&gt;: serves private gems without running a server, but does not proxy RubyGems.org.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;thanks&quot;&gt;Thanks&lt;/h2&gt;

&lt;p&gt;Thank you to &lt;a href=&quot;https://github.com/fuzzyrichie&quot;&gt;fuzzyrichie&lt;/a&gt; for reporting the numerous issues responsibly. The Security Engineer in Residence program also found several of them. Thanks also to &lt;a href=&quot;https://github.com/dkw-oss&quot;&gt;dkw-oss&lt;/a&gt; for developing many of the fixes. To report a security issue in Gemstash, see &lt;a href=&quot;https://github.com/rubygems/gemstash/security/policy&quot;&gt;https://github.com/rubygems/gemstash/security/policy&lt;/a&gt; or email &lt;a href=&quot;mailto:security@rubygems.org&quot;&gt;security@rubygems.org&lt;/a&gt;.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>What&apos;s New in RubyGems/Bundler 4.1</title>
   <link href="https://blog.rubygems.org/2026/11/16/whats-new-rubygems-bundler-4-1.html"/>
   <updated>2026-11-16T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/11/16/whats-new-rubygems-bundler-4-1</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;&lt;a href=&quot;/2026/11/16/4.1.0-released.html&quot;&gt;RubyGems and Bundler 4.1.0&lt;/a&gt; are out. I covered the release in a three-part series on dev.to, and this post picks two changes from each part that you are most likely to use.&lt;/p&gt;

&lt;h2 id=&quot;override-and-prune&quot;&gt;override and prune&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;override&lt;/code&gt; in the Gemfile rewrites version constraints that your dependencies declare, transitive ones included. When a gem caps &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;required_ruby_version&lt;/code&gt; below the Ruby you just installed, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;override &quot;foo&quot;, required_ruby_version: :ignore_upper&lt;/code&gt; gets you going without a fork. It can also drop or replace a dependency with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;with:&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;in:&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;prune&lt;/code&gt; deletes Bundler’s download cache and the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.git&lt;/code&gt; directories of git gems after install. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle config set --local prune cache:git&lt;/code&gt; replaces the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rm -rf&lt;/code&gt; line in your Dockerfile.&lt;/p&gt;

&lt;p&gt;Details are in &lt;a href=&quot;https://dev.to/hsbt/whats-new-in-rubygemsbundler-41-part-1-override-and-prune-2ngn&quot;&gt;Part 1&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;defenses-against-supply-chain-attacks&quot;&gt;Defenses against supply chain attacks&lt;/h2&gt;

&lt;p&gt;The credential store keeps the API key for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem push&lt;/code&gt; and Bundler’s per-host credentials in the OS keychain instead of plain text files. Turn it on with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:credential_store: true&lt;/code&gt; in your gemrc or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle config set credential_store true&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Cooldown now works in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem&lt;/code&gt; command too. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem install --cooldown 7&lt;/code&gt; skips versions published in the last seven days, and the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem&lt;/code&gt; command reads Bundler’s cooldown setting as well.&lt;/p&gt;

&lt;p&gt;Details are in &lt;a href=&quot;https://dev.to/hsbt/whats-new-in-rubygemsbundler-41-part-2-defenses-against-supply-chain-attacks-e70&quot;&gt;Part 2&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;one-codebase-fewer-round-trips&quot;&gt;One codebase, fewer round trips&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem install&lt;/code&gt; no longer fetches a gemspec for every gem it installs, so &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem install activesupport&lt;/code&gt; makes 25 requests instead of 40. The compact index is cached with ETags, so a repeated resolve downloads nothing.&lt;/p&gt;

&lt;p&gt;RubyGems and Bundler now share one HTTP stack and one compact index client instead of keeping two copies, so a fix lands once.&lt;/p&gt;

&lt;p&gt;Details are in &lt;a href=&quot;https://dev.to/hsbt/whats-new-in-rubygemsbundler-41-part-3-unifying-rubygems-and-bundler-and-what-gem-install-no-300h&quot;&gt;Part 3&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Beyond these six, 4.1.0 brings many other changes that make RubyGems and Bundler nicer to use today, such as support for content addressable gems. It also has a few breaking changes. For example, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle clean&lt;/code&gt; now exits with an error when it cannot delete a file, where it used to report success. The full changelog, breaking changes included, is in the &lt;a href=&quot;/2026/11/16/4.1.0-released.html&quot;&gt;4.1.0 release post&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;To try it, run:&lt;/p&gt;

&lt;div class=&quot;language-shell highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update &lt;span class=&quot;nt&quot;&gt;--system&lt;/span&gt;
bundle update &lt;span class=&quot;nt&quot;&gt;--bundler&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The second command records Bundler 4.1.0 in your lockfile. Without it, Bundler switches back to the version your lockfile was generated with, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;override&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;prune&lt;/code&gt; are not available.&lt;/p&gt;

&lt;p&gt;Feedback is welcome, from things you notice to ideas for improving the new features. Please send it to &lt;a href=&quot;https://github.com/ruby/rubygems&quot;&gt;ruby/rubygems&lt;/a&gt;.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>4.1.0 Released</title>
   <link href="https://blog.rubygems.org/2026/11/16/4.1.0-released.html"/>
   <updated>2026-11-16T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/11/16/4.1.0-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems and Bundler 4.1.0 include features, performance, enhancements, breaking changes, bug fixes and deprecations.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.1.0
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;release-notes&quot;&gt;Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;rubygems&quot;&gt;RubyGems&lt;/h3&gt;

&lt;p&gt;Changes already released in 4.0.x are not repeated here.&lt;/p&gt;

&lt;h4 id=&quot;features&quot;&gt;Features:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Support content addressable gems in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Gem::PackageTask&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9897&quot;&gt;#9897&lt;/a&gt; by Harriet Oughton, Gira Chawda and Jenny Shen&lt;/li&gt;
  &lt;li&gt;Add &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--content-addressable&lt;/code&gt; to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem build&lt;/code&gt; and make &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--ruby-abi&lt;/code&gt; only set the Ruby ABI. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9906&quot;&gt;#9906&lt;/a&gt; by Harriet Oughton&lt;/li&gt;
  &lt;li&gt;Add content addressable gems support. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9773&quot;&gt;#9773&lt;/a&gt; by Jenny Shen, Harriet Oughton and Gira Chawda&lt;/li&gt;
  &lt;li&gt;Let the gem and bundle cooldown settings cover each other. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9852&quot;&gt;#9852&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Rubygems: Add PQC ML-DSA support for cryptographically signed gems workflow. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9697&quot;&gt;#9697&lt;/a&gt; by Jun Aruga, Kazuki Yamaguchi and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Preserve non-UTF-8 legacy gem metadata. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9835&quot;&gt;#9835&lt;/a&gt; by Stanislav (Stas) Katkov&lt;/li&gt;
  &lt;li&gt;Add an opt-in OS credential store for gem and bundler credentials. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9671&quot;&gt;#9671&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add –cooldown to gem install, update and outdated. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9734&quot;&gt;#9734&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Adopt the compact index for gem commands. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9606&quot;&gt;#9606&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Replace Molinillo with PubGrub for dependency resolution. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9402&quot;&gt;#9402&lt;/a&gt; by Matt Larraz and Colby Swandale&lt;/li&gt;
  &lt;li&gt;Replace the rubygems-specific lockfile parser with Bundler’s parser. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9564&quot;&gt;#9564&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Remove pessimistic versioning in gem command output. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9550&quot;&gt;#9550&lt;/a&gt; by Jeremy Evans&lt;/li&gt;
  &lt;li&gt;Change Gem::Version#approximate_recommendation to be optimistic. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9537&quot;&gt;#9537&lt;/a&gt; by Jeremy Evans&lt;/li&gt;
  &lt;li&gt;Add &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--no-build-extension&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--no-install-plugin&lt;/code&gt; options to gem install. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9473&quot;&gt;#9473&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Push with auto-attestation. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9325&quot;&gt;#9325&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Implement yaml parser written by pure ruby instead of Psych. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9352&quot;&gt;#9352&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Honor concurrent_downloads from .gemrc in Gem::ConfigFile. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9339&quot;&gt;#9339&lt;/a&gt; by Andrii Furmanets&lt;/li&gt;
  &lt;li&gt;Add support for custom error response from external registries. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9270&quot;&gt;#9270&lt;/a&gt; by Luis J. Gonzalez&lt;/li&gt;
  &lt;li&gt;Add global gem cache shared by RubyGems and Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9230&quot;&gt;#9230&lt;/a&gt; by Anthony Panozzo&lt;/li&gt;
  &lt;li&gt;Write gem files atomically. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9154&quot;&gt;#9154&lt;/a&gt; by Eileen&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;performance&quot;&gt;Performance:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Fix slow and misaligned Bignum loading in Gem::SafeMarshal. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10057&quot;&gt;#10057&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Build Gem::Requirement.default without parsing “&amp;gt;= 0”. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10002&quot;&gt;#10002&lt;/a&gt; by Lawrence Lin&lt;/li&gt;
  &lt;li&gt;Remove &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;verify_gz&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9093&quot;&gt;#9093&lt;/a&gt; by Eileen&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Installs bundler 4.1.0 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;breaking-changes&quot;&gt;Breaking changes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Delete some unused internal methods. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9827&quot;&gt;#9827&lt;/a&gt; by Issy Long and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Build a platform gem with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem build --platform&lt;/code&gt; for the local platform. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9873&quot;&gt;#9873&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Fix &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem update --user-install&lt;/code&gt; updating gems outside the user directory. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9872&quot;&gt;#9872&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Stop installing native extension build logs. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9700&quot;&gt;#9700&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Remove Gem::BasicSpecification#datadir and check minor-release deprecation horizons. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9842&quot;&gt;#9842&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Raise an error when building a gem that has a self reference. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9392&quot;&gt;#9392&lt;/a&gt; by Edouard CHIN&lt;/li&gt;
  &lt;li&gt;Revert &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;DEFAULT_INSTALL_EXTENSION_IN_LIB&lt;/code&gt; and warn &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;require_relative&lt;/code&gt; with C ext. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9390&quot;&gt;#9390&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Remove deprecated and unused &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Gem::List&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9161&quot;&gt;#9161&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bundler&quot;&gt;Bundler&lt;/h3&gt;

&lt;p&gt;Changes already released in 4.0.x are not repeated here.&lt;/p&gt;

&lt;h4 id=&quot;features-1&quot;&gt;Features:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Fix regressions of bundler/inline’s forked install. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10048&quot;&gt;#10048&lt;/a&gt; by Hiroshi SHIBATA and Samer Masry&lt;/li&gt;
  &lt;li&gt;Rename the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;from:&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;to:&lt;/code&gt; keys of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;override&lt;/code&gt; to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;in:&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;with:&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9979&quot;&gt;#9979&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Record overrides in Gemfile.lock (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;OVERRIDES&lt;/code&gt; section). Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9958&quot;&gt;#9958&lt;/a&gt; by Ufuk Kayserilioglu&lt;/li&gt;
  &lt;li&gt;Let override drop or replace one dependency of a gem. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9935&quot;&gt;#9935&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sparse_checkout&lt;/code&gt; option to git source. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9295&quot;&gt;#9295&lt;/a&gt; by Ian Ker-Seymer and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Implement &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--exact-match&lt;/code&gt; Flag for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle info&lt;/code&gt; / &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;show&lt;/code&gt; / &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;open&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9489&quot;&gt;#9489&lt;/a&gt; by Harriet Oughton&lt;/li&gt;
  &lt;li&gt;Add content addressable gems support. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9773&quot;&gt;#9773&lt;/a&gt; by Jenny Shen, Harriet Oughton and Gira Chawda&lt;/li&gt;
  &lt;li&gt;Let the gem and bundle cooldown settings cover each other. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9852&quot;&gt;#9852&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Reject created_at years outside four digits in cooldown parsing. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9846&quot;&gt;#9846&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;prune&lt;/code&gt; setting to drop rebuildable install artifacts. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9815&quot;&gt;#9815&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add an opt-in OS credential store for gem and bundler credentials. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9671&quot;&gt;#9671&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Fetch Bundler metadata through Gem::Request instead of net-http-persistent. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9786&quot;&gt;#9786&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Reuse RubyGems’ compact index client in Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9753&quot;&gt;#9753&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Reuse RubyGems’ vendored PubGrub in Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9752&quot;&gt;#9752&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Use RubyGems’ YAML serializer in Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9751&quot;&gt;#9751&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Reuse RubyGems’ vendored SecureRandom in Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9651&quot;&gt;#9651&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Reuse RubyGems’ vendored URI in Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9650&quot;&gt;#9650&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Fix two issues by including the ruby platform variants in the lock file. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9556&quot;&gt;#9556&lt;/a&gt; by Randy Stauner&lt;/li&gt;
  &lt;li&gt;Fix plugin installation from gemfile. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/6957&quot;&gt;#6957&lt;/a&gt; by Cody Cutrer, Diogo Fernandes and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add plugin hooks for Gemfile evaluation and source fetching. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9488&quot;&gt;#9488&lt;/a&gt; by Hiroshi SHIBATA, Cody Cutrer and Marv&lt;/li&gt;
  &lt;li&gt;Use optimistic version constraints in bundle gem output. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9533&quot;&gt;#9533&lt;/a&gt; by Jeremy Evans&lt;/li&gt;
  &lt;li&gt;Extend Gemfile &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;override&lt;/code&gt; DSL with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:all&lt;/code&gt; target and metadata fields (Phase 2). Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9530&quot;&gt;#9530&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Switch bundle add to use optimistic versioning by default. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9526&quot;&gt;#9526&lt;/a&gt; by Jeremy Evans&lt;/li&gt;
  &lt;li&gt;Add Gemfile &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;override&lt;/code&gt; DSL for version constraints (Phase 1). Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9517&quot;&gt;#9517&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--no-build-extension&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--no-install-plugin&lt;/code&gt; options to gem install. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9473&quot;&gt;#9473&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Include detailed dependencies when gemfile and lockfile are conflicts. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9332&quot;&gt;#9332&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Implement relative path handling for plugin paths. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9299&quot;&gt;#9299&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Bundler/inline: perform installation from a forked child. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/7941&quot;&gt;#7941&lt;/a&gt; by Jean Boussier and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add global gem cache shared by RubyGems and Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9230&quot;&gt;#9230&lt;/a&gt; by Anthony Panozzo&lt;/li&gt;
  &lt;li&gt;Update custom errors with Exception#full_message. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/8488&quot;&gt;#8488&lt;/a&gt; by neimadTL&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;performance-1&quot;&gt;Performance:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Skip loading default gemspecs the bundle already has. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10000&quot;&gt;#10000&lt;/a&gt; by Lawrence Lin&lt;/li&gt;
  &lt;li&gt;Add a lockfile source’s spec names once, after parsing. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10004&quot;&gt;#10004&lt;/a&gt; by Lawrence Lin&lt;/li&gt;
  &lt;li&gt;Look up a dependency’s specs by name in SpecSet#validate_deps. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9999&quot;&gt;#9999&lt;/a&gt; by Lawrence Lin&lt;/li&gt;
  &lt;li&gt;Delegate contains_requirable_file? to the stub in Bundler::StubSpecification. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9997&quot;&gt;#9997&lt;/a&gt; by Lawrence Lin&lt;/li&gt;
  &lt;li&gt;Autoload the vendored FileUtils. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10001&quot;&gt;#10001&lt;/a&gt; by Lawrence Lin&lt;/li&gt;
  &lt;li&gt;Use separate Bundler download and installation workers. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9777&quot;&gt;#9777&lt;/a&gt; by Joshua Young&lt;/li&gt;
  &lt;li&gt;Cache a shared git source only once per command. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9689&quot;&gt;#9689&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;enhancements-1&quot;&gt;Enhancements:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Warn about downgrading default gems in bundle install. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10026&quot;&gt;#10026&lt;/a&gt; by Kazuki Yamaguchi&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Fix Bundler mirror probing with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fallback_timeout&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10046&quot;&gt;#10046&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Preload git sources that share a cache one after another. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9951&quot;&gt;#9951&lt;/a&gt; by Shai&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;breaking-changes-1&quot;&gt;Breaking changes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Report permission errors from bundle clean. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9772&quot;&gt;#9772&lt;/a&gt; by Florian Meyer and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Remove external tool version checks from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle env&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9593&quot;&gt;#9593&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Bundler: ignore patchlevel kwarg in ruby DSL. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/6023&quot;&gt;#6023&lt;/a&gt; by Takuya N and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Unify RubyGems and Bundler documentation. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9237&quot;&gt;#9237&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;deprecations&quot;&gt;Deprecations:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Rename the no_prune setting to keep_outdated_cache. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9816&quot;&gt;#9816&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.1.0.tgz&lt;br /&gt;
d0483e63c81c1f9c9c236ed4ec1bb0efd196e9aae858cdf4d309a0da51a82a2b&lt;/li&gt;
  &lt;li&gt;rubygems-4.1.0.zip&lt;br /&gt;
01b033c45c79f59ed8693bfd72b5a3d009e666c8b8bf93914206c97694f19b2d&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.1.0.gem&lt;br /&gt;
8b303b85a22e22f0fb0ff6f77183e6fde15325f1e7abb5b375ff0a0f734f96f6&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>4.0.24 Released</title>
   <link href="https://blog.rubygems.org/2026/11/05/4.0.24-released.html"/>
   <updated>2026-11-05T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/11/05/4.0.24-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems 4.0.24 includes enhancements, bug fixes and documentation and Bundler 4.0.24 includes enhancements and bug fixes.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.0.24
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;rubygems-release-notes&quot;&gt;RubyGems Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Installs bundler 4.0.24 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Skip executable removal gracefully when the bin directory is missing. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9963&quot;&gt;#9963&lt;/a&gt; by Evan Li and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Fix file locks letting multiple processes in when lock files are removed. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9930&quot;&gt;#9930&lt;/a&gt; by Richard Janita and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Turn off echo before printing the password prompt. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9969&quot;&gt;#9969&lt;/a&gt; by Mike Dalessio&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;documentation&quot;&gt;Documentation:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;[DOC] Fix link. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/10014&quot;&gt;#10014&lt;/a&gt; by Burdette Lamar&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;bundler-release-notes&quot;&gt;Bundler Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements-1&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Read the Ruby version from mise’s inline table form. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9991&quot;&gt;#9991&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Report which locked gems can’t be materialized for the current platform. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9738&quot;&gt;#9738&lt;/a&gt; by Muhammad Moussa&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes-1&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Fix &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle exec&lt;/code&gt; with no arguments for paths containing spaces. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9996&quot;&gt;#9996&lt;/a&gt; by Brandon Weiss&lt;/li&gt;
  &lt;li&gt;Respect enclosing platforms and install_if for gemspec development dependencies. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9992&quot;&gt;#9992&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Respect enclosing group and platforms for gemspec dependencies. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9990&quot;&gt;#9990&lt;/a&gt; by Denis Talakevich&lt;/li&gt;
  &lt;li&gt;Don’t report locked gems in the cooldown summary. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9981&quot;&gt;#9981&lt;/a&gt; by Patrik Ragnarsson&lt;/li&gt;
  &lt;li&gt;Make &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Bundler::Source::Rubygems#hash&lt;/code&gt; agree with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;eql?&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9983&quot;&gt;#9983&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add checksums after platform changes in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle lock&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9960&quot;&gt;#9960&lt;/a&gt; by Farid Zakaria&lt;/li&gt;
  &lt;li&gt;Apply BUNDLE_RETRY to lazy gemspec downloads. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9868&quot;&gt;#9868&lt;/a&gt; by Islam Elsayed&lt;/li&gt;
  &lt;li&gt;Fix file locks letting multiple processes in when lock files are removed. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9930&quot;&gt;#9930&lt;/a&gt; by Richard Janita and Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.0.24.tgz&lt;br /&gt;
09538daea556c642ea3479bef9a3c5f8b1cfec410b0da8a02351b9c3575f1c6e&lt;/li&gt;
  &lt;li&gt;rubygems-4.0.24.zip&lt;br /&gt;
1bb83b199a0cdd05b494fd6d11f6e36ee9aa0431abd732f1289cf9c16cb9f493&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.0.24.gem&lt;br /&gt;
15785a08b14dc17c58d6ae10a485d7a0c9beee7683896b7ae40a9c7e3a5e581f&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>Ruby Central’s OSS Changelog: October 2026</title>
   <link href="https://blog.rubygems.org/2026/10/28/ruby-centrals-oss-changelog-october-2026.html"/>
   <updated>2026-10-28T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/10/28/ruby-centrals-oss-changelog-october-2026</id>
   <author><name>Kirk Haines</name></author>
   <content type="html">&lt;p&gt;&lt;em&gt;Originally published on &lt;a href=&quot;https://rubycentral.org/news/ruby-centrals-oss-changelog-october-2026/&quot;&gt;Ruby Central&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;relaunching-the-changelog&quot;&gt;Relaunching the changelog&lt;/h2&gt;

&lt;p&gt;It has been a long time since the last Ruby Central Changelog, and we’re bringing it back. Ruby Central’s open source team operates &lt;a href=&quot;https://rubygems.org/&quot;&gt;RubyGems.org&lt;/a&gt;, a service many of us rely on every day, and supports the packaging ecosystem around it. The Changelog is where we will share that work. Each issue will cover what is changing, why it matters, and where you can get involved.&lt;/p&gt;

&lt;p&gt;This is the first issue edited by our new Community Manager, Kirk Haines, who joined Ruby Central in August. If you missed his introduction in the Ruby Central August &lt;a href=&quot;https://mailchi.mp/cf35f86b5ae4/august-2026-readme-newsletter&quot;&gt;README&lt;/a&gt;, the short version is that Kirk has been using Ruby since 2001 and is glad to give back to the language and the community that fueled so much of his career.&lt;/p&gt;

&lt;h2 id=&quot;improving-operations-of-rubygemsorg&quot;&gt;Improving operations of RubyGems.org&lt;/h2&gt;

&lt;p&gt;Over the past year, the team has invested in the operational side of RubyGems.org. This work included how the service is monitored, how incidents are handled, and how abuse gets cleaned up.&lt;/p&gt;

&lt;p&gt;The team has reorganized the on-call rotation, which follows the sun so that someone awake is responsible for RubyGems.org at every hour of the day. Runbooks for monitoring and common operational tasks have grown from nine to 72, so whoever is on call has a procedure to work from, which makes operational knowledge easier to share across the team. Offboarding has a checklist, every incident gets a written postmortem, and expanded logging and monitoring help the team detect and investigate problems. Much of this came out of Ruby Shield, our four-year partnership with Shopify. Its &lt;a href=&quot;https://rubycentral.org/news/ruby-shield-a-reflection-on-four-years-of-securing-the-ruby-supply-chain/&quot;&gt;retrospective&lt;/a&gt; tells the full story.&lt;/p&gt;

&lt;p&gt;The team also built better tools for cleaning up abuse. Admins are now able to more easily manage the day-to-day operations and respond faster to incidents as they emerge. That tooling is what we used in the August typosquat response.&lt;/p&gt;

&lt;p&gt;Under the hood, we’ve kept RubyGems.org current with the ecosystem it serves. It now runs on Ruby 4 and Rails 8.1, and we regularly upgrade our core infrastructure to stay up to date on the latest patches. Our next piece of infrastructure work is upgrading our database to Postgres 18.&lt;/p&gt;

&lt;h2 id=&quot;keeping-rubygemsorg-secure&quot;&gt;Keeping RubyGems.org secure&lt;/h2&gt;

&lt;p&gt;RubyGems.org serves over 1 billion requests a day, and keeping it available and trustworthy was a large part of this year’s work. In early April, bots from many sources spent a week scraping data about every published gem, and the volume disrupted parts of the site. We &lt;a href=&quot;/2026/04/07/temporarily-disabling-language-support.html&quot;&gt;temporarily disabled language switching&lt;/a&gt; to keep the site stable while we reworked how those pages were cached.&lt;/p&gt;

&lt;p&gt;Two other changes closed off less visible risks. Aaron Patterson audited all 180,000+ gems published on RubyGems.org to build a schema from real gem metadata, and &lt;a href=&quot;/2026/04/09/protecting-rubygems-from-the-outside-in.html&quot;&gt;gem pushes are now validated against it&lt;/a&gt;. The validator extracts only the values it expects from a gem’s metadata instead of letting Ruby build objects from it, which closes off an entire class of attacks on the push endpoint. RubyGems.org also now checks passwords against Have I Been Pwned at login, registration, and password reset.&lt;/p&gt;

&lt;p&gt;In July, Luke Marshall of Truffle Security reported that responses from our &lt;a href=&quot;/2026/07/22/security-advisory-legacy-api-key-leak.html&quot;&gt;legacy API key endpoint could be cached by our CDN&lt;/a&gt; and served to the wrong person for up to an hour. We deployed a fix three days later, retired the old endpoint, revoked every legacy API key, and notified everyone whose account had ever held one. Our access logs show no sign of a legacy key being used maliciously. If a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem push&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem yank&lt;/code&gt;, or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem owner&lt;/code&gt; from an older setup now returns a 401, create a new API key on RubyGems.org and update your local and CI configuration.&lt;/p&gt;

&lt;p&gt;Some of this work reaches beyond the service itself. In April we &lt;a href=&quot;/2026/04/29/scaling-rubys-defenses-with-ai.html&quot;&gt;started using AI models to look for vulnerabilities&lt;/a&gt; in the gems the Ruby ecosystem depends on most, prioritized by the OpenSSF Criticality Score. With funding from Alpha-Omega, that work has grown into our Security Engineers in Residence program. The Gem Security team now scans top gems and works with their maintainers to fix what they find, with 90 days as the upper limit for coordinated disclosure.&lt;/p&gt;

&lt;p&gt;The 619 gems on our list have been downloaded a combined 158 billion times, and 26 of them have each passed a billion downloads. About 317 of those 619 have been scanned so far. A person reviews every finding, and those which survive that review are reported to the relevant maintainer. Of the 134 findings our reviewers evaluated, 120 (90%) were rejected because they weren’t reachable by an attacker, described intended behavior, or duplicated another report. About 15 have been reported to maintainers or advisory channels, and six security advisories have been opened. Some of those are still under embargo, and we’ll share more as the fixes ship.&lt;/p&gt;

&lt;p&gt;One that is &lt;a href=&quot;https://github.com/WinRb/rubyntlm/security/advisories/GHSA-cx24-f932-rr55&quot;&gt;now public is in rubyntlm&lt;/a&gt;, an NTLM authentication gem with over 94 million downloads. Its NTLMv2 password check ignored the password it was given and checked every login against an empty password instead, so an application relying on it would let in anyone who knew a valid username. The maintainer rated it critical, 9.3 out of 10, and released a fix in rubyntlm 0.6.6. If you use &lt;a href=&quot;https://rubygems.org/gems/rubyntlm&quot;&gt;rubyntlm&lt;/a&gt;, upgrade to 0.6.6 or later.&lt;/p&gt;

&lt;p&gt;If you maintain a gem and would like it reviewed, or you’ve found a vulnerability in a gem and want to report it privately, reach out to the Gem Security team at &lt;a href=&quot;mailto:gem-security@rubygems.org&quot;&gt;gem-security@rubygems.org&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;making-the-work-sustainable&quot;&gt;Making the work sustainable&lt;/h2&gt;

&lt;p&gt;In &lt;a href=&quot;https://rubycentral.org/news/software-foundation-musings/&quot;&gt;Software Foundation Musings&lt;/a&gt;, Marty Haught, Ruby Central’s Director of Open Source, looks at what Ruby Central needs to become a stronger software foundation. The main pieces are clear governance, policies and documentation that support the work, and recurring funding that can sustain it. He is learning from other foundations and considering what will fit the Ruby ecosystem. This is a work in progress on the path to a more solid organizational plan.&lt;/p&gt;

&lt;p&gt;We think infrastructure should be boring in the sense that you can count on it. When you install a gem or deploy an application, your reasonable expectation is that everything just works. Making that possible takes ongoing maintenance and a team that can keep doing it. The funding and organizational work are part of that.&lt;/p&gt;

&lt;h2 id=&quot;announcing-the-rubygems-teams&quot;&gt;Announcing the RubyGems teams&lt;/h2&gt;

&lt;p&gt;We’re grateful to the previous maintainers of RubyGems, Bundler, and RubyGems.org for the years of work they devoted to building, maintaining, and improving these projects. Their expertise and care continue to benefit everyone who depends on Ruby’s packaging ecosystem. The work described in this Changelog builds on their contributions.&lt;/p&gt;

&lt;p&gt;Over the past year, Colby Swandale, Hiroshi Shibata, and Marty Haught have expanded the teams supporting RubyGems, Bundler, and &lt;a href=&quot;https://rubygems.org/&quot;&gt;RubyGems.org&lt;/a&gt;. Members come from Ruby Core, Ruby Central, the volunteer community, and companies that contribute engineering time, so responsibility for these critical tools is widely shared. We’re excited to introduce them.&lt;/p&gt;

&lt;h3 id=&quot;rubygems-core-team&quot;&gt;RubyGems core team&lt;/h3&gt;

&lt;p&gt;With the RubyGems and Bundler repositories now part of Ruby Core, the clients have a dedicated core team. It’s led by Hiroshi Shibata, the project’s Ruby Core contributor since 2014, and includes Kouhei Sutou, Colby Swandale, Aaron Patterson, Edouard Chin, Eileen Alayce, and Mike Dalessio.&lt;/p&gt;

&lt;h3 id=&quot;rubygems-security-team&quot;&gt;RubyGems security team&lt;/h3&gt;

&lt;p&gt;Security for both the clients and RubyGems.org has a dedicated team composed of Hiroshi Shibata, Colby Swandale, Dushan Karovich-Wynne, Maciej Mensfeld, Jenny Shen, Patrick Linnane, Mike Dalessio, and Aaron Patterson.&lt;/p&gt;

&lt;h3 id=&quot;rubygemsorg-service-teams&quot;&gt;RubyGems.org service teams&lt;/h3&gt;

&lt;p&gt;The &lt;a href=&quot;https://rubygems.org/&quot;&gt;RubyGems.org&lt;/a&gt; service has multiple teams that oversee maintenance, on-call, and security.&lt;/p&gt;

&lt;p&gt;Maintenance is handled by Colby Swandale, Dushan Karovich-Wynne, Jenny Shen, and Issy Long. They are joined by in-kind engineers on rotation. The current engineers in the rotation are Brian Tenggren from &lt;a href=&quot;https://thoughtbot.com/&quot;&gt;thoughtbot&lt;/a&gt; and Anton Bondaronok from &lt;a href=&quot;https://rubyroidlabs.com/&quot;&gt;Rubyroid Labs&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Our on-call team has a primary and a secondary rotation. Our primary rotation includes Colby Swandale, Jenny Shen, Mike Dalessio, and Arun Agrawal. We have a secondary rotation of Evan Phoenix, David Radcliffe, and Joshua Young.&lt;/p&gt;

&lt;p&gt;We have a specialized security team, Gem Security, who are focused on running our &lt;a href=&quot;https://rubygems.org/pages/security-engineers-in-residence-faq&quot;&gt;Security Engineers in Residence&lt;/a&gt; program using AI models to proactively scan top gems for vulnerabilities. Its members are Dushan Karovich-Wynne, Matt Mongeau, Patrick Linnane, and Colby Swandale.&lt;/p&gt;

&lt;h2 id=&quot;rubygems-news&quot;&gt;RubyGems news&lt;/h2&gt;

&lt;h3 id=&quot;rubygems-and-bundler-410beta2&quot;&gt;RubyGems and Bundler 4.1.0.beta2&lt;/h3&gt;

&lt;p&gt;The second beta of the 4.1 line &lt;a href=&quot;/2026/10/08/4.1.0.beta2-released.html&quot;&gt;went out on October 8th&lt;/a&gt;, following &lt;a href=&quot;/2026/09/09/4.1.0.beta1-released.html&quot;&gt;beta1 on September 9th&lt;/a&gt;. Dependency resolution is faster, and when a Gemfile cannot be satisfied the error now tells you which constraints actually conflict instead of dumping the whole graph. Installs reuse a gem cache shared between RubyGems and Bundler, so the same gem is downloaded once for all your projects. Your RubyGems.org credentials can move out of a plain text file and into the operating system’s credential store, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem push&lt;/code&gt; attaches provenance to your releases with no extra setup. Gemfiles gain &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;override&lt;/code&gt;, which rewrites the version requirements on a gem and, new in beta2, drops or replaces one dependency of a gem. A new &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;prune&lt;/code&gt; setting strips caches and git metadata from your bundle path. Please try it with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem update --system --pre&lt;/code&gt; before the final release.&lt;/p&gt;

&lt;p&gt;Read more: &lt;a href=&quot;https://dev.to/hsbt/whats-new-in-rubygemsbundler-41-part-1-override-and-prune-2ngn&quot;&gt;What’s New in RubyGems/Bundler 4.1, Part 1: override and prune&lt;/a&gt;&lt;/p&gt;

&lt;h3 id=&quot;dependency-cooldowns&quot;&gt;Dependency cooldowns&lt;/h3&gt;

&lt;p&gt;Most supply chain attacks against RubyGems exploit a narrow window. An account is compromised, a malicious version ships, and any &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle install&lt;/code&gt; in the minutes that follow resolves straight to it. Dependency cooldowns, which shipped as part of Bundler 4.0.13 in June, hold back versions published fewer than N days ago, allowing time for malicious versions to be detected. Cooldowns are opt-in, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--cooldown 0&lt;/code&gt; gets you an urgent patch immediately, and 4.1.0.beta1 brings them to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem install&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;update&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;outdated&lt;/code&gt; too. Dependency cooldowns depend on RubyGems.org’s compact index now including when each version was published. Jenny Shen and the team at Shopify added that data through a dual-write migration and a flagged cutover, with no disruption for clients.&lt;/p&gt;

&lt;p&gt;Read more: &lt;a href=&quot;/2026/06/03/cooldown-let-new-gems-be-vetted.html&quot;&gt;Cool down before you install&lt;/a&gt;&lt;/p&gt;

&lt;h3 id=&quot;rubygems-guides-for-humans-and-ai&quot;&gt;RubyGems guides for humans and AI&lt;/h3&gt;

&lt;p&gt;The guides were rewritten in August around what you are trying to do rather than which tool does it, with a new Concepts section and security guidance covering MFA and Trusted Publishing. They are also readable by your coding assistants. Any guide URL with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.md&lt;/code&gt; appended returns clean Markdown, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;llms.txt&lt;/code&gt; gives an agent the whole index, so the answers you get about RubyGems can come from the current documentation.&lt;/p&gt;

&lt;p&gt;Read more: &lt;a href=&quot;/2026/08/06/making-rubygems-guides-ai-friendly.html&quot;&gt;Making RubyGems Guides friendly to humans and AI&lt;/a&gt;&lt;/p&gt;

&lt;h3 id=&quot;content-addressable-gems&quot;&gt;Content-addressable gems&lt;/h3&gt;

&lt;p&gt;Jenny Shen, Harriet Oughton, and Gira Chawda have been working to better support native extensions in RubyGems. The work allows native extensions to be packaged per Ruby ABI, which reduces native gem size and improves maintainability for gem owners. Support for installing content-addressable gems landed in 4.1.0.beta1, and beta2 adds &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem build --content-addressable&lt;/code&gt; and support in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Gem::PackageTask&lt;/code&gt;. It also opens the door to building gems on RubyGems.org hardware, so native extensions would no longer have to be compiled during &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle install&lt;/code&gt;.&lt;/p&gt;

&lt;h2 id=&quot;rubygemsorg-news&quot;&gt;RubyGems.org news&lt;/h2&gt;

&lt;h3 id=&quot;redesign-complete&quot;&gt;Redesign complete&lt;/h3&gt;

&lt;p&gt;RubyGems.org has a new look. The redesign started with the About and Data pages, because the team chose stability over a big reveal. In July, it reached the rest of the site: search, gem pages, stats, profiles, API keys, and MFA settings all moved to the new design, and the blog and guides were restyled to match. The new design supports light and dark themes and works across screen sizes. Many thanks to Brian Tenggren, who got this over the line during his in-kind rotation from thoughtbot, and to Ian Taylor for the design.&lt;/p&gt;

&lt;h3 id=&quot;organizations-private-beta&quot;&gt;Organizations private beta&lt;/h3&gt;

&lt;p&gt;Organizations &lt;a href=&quot;/2026/02/16/organizations-beta.html&quot;&gt;entered private beta&lt;/a&gt; in February. Interest from companies and teams has been strong, and a growing number are now actively using Organizations, which has given us a diverse set of perspectives to learn from. As part of the beta process, Marty met with beta users to understand the pain points and the value Organizations can bring to the publishing process. The feedback has been consistent. Participants want a simpler way to manage access across all of their company’s gems, and they value protecting their organization’s identity and verifying their affiliation.&lt;/p&gt;

&lt;p&gt;We’ve acted on that by making onboarding easier and improving how you manage members and their access to gems. Looking ahead, we’re building more advanced publisher features that strengthen supply chain security and streamline the publishing process.&lt;/p&gt;

&lt;p&gt;Organizations also matter because we’re exploring how they can help sustain RubyGems.org over the long term. The beta will continue into 2027 before we finalize a public rollout. If your organization would like to take part, you can &lt;a href=&quot;https://docs.google.com/forms/d/e/1FAIpQLScDimnhTz7u0o6kpFJEmvu6Dn-IJz5kXaW1vu5sV5qxVzoAkQ/viewform?usp=header&quot;&gt;apply here&lt;/a&gt;.&lt;/p&gt;

&lt;h3 id=&quot;public-roadmap&quot;&gt;Public roadmap&lt;/h3&gt;

&lt;p&gt;RubyGems.org has a &lt;a href=&quot;https://github.com/orgs/rubygems/projects/21&quot;&gt;public roadmap&lt;/a&gt;. It is where planned work is listed and discussed, and it is open to you. We published it in April because too much of our work had been happening quietly. If you wanted to know where things were headed, you had to catch the right conference talk or the right newsletter. The roadmap covers work at different stages, from Organizations moving toward general availability to longer-term work on security tooling, gem archival, and acceptable use policies. If something on the roadmap affects your project, tell us how. If something important is missing, raise it. The &lt;a href=&quot;/2026/04/15/rubygems-org-has-a-public-roadmap.html&quot;&gt;roadmap introduction&lt;/a&gt; explains how to get involved.&lt;/p&gt;

&lt;h2 id=&quot;we-want-to-hear-from-you&quot;&gt;We want to hear from you&lt;/h2&gt;

&lt;p&gt;Future issues will cover releases, fixes, work in progress, and the people doing the work. Tell us what would make those updates useful, what questions about RubyGems.org we should be answering, and whose work you’d like to hear more about.&lt;/p&gt;

&lt;p&gt;We also want to help people find a useful place to contribute. A maintainer might need help reproducing a bug or improving documentation, while someone with time to offer might not know where to start. Before we decide how Ruby Central can help, we want to understand what already works and where it falls short. If you maintain a project, what help would make a real difference? If you’ve contributed, or wanted to, what got in your way?&lt;/p&gt;

&lt;p&gt;The best way to reach us is to email Ruby Central’s Community Manager, Kirk Haines, at &lt;a href=&quot;mailto:kirk@rubycentral.org&quot;&gt;kirk@rubycentral.org&lt;/a&gt;. If we don’t know the answer, we’ll help you find someone who does. For questions or ideas others might want to weigh in on, start a conversation on the &lt;a href=&quot;https://join.slack.com/t/rubycentralcommunity/shared_invite/zt-2uh1lvotg-227RO9FJYT_C9RLNiA8Bng&quot;&gt;Ruby Central Community Slack&lt;/a&gt;. Our &lt;a href=&quot;https://rubycentral.org/community/&quot;&gt;community page&lt;/a&gt; has more on how to get involved.&lt;/p&gt;

&lt;p&gt;Thanks for reading, and for the work you put into Ruby.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>4.1.0.beta3 Released</title>
   <link href="https://blog.rubygems.org/2026/10/28/4.1.0.beta3-released.html"/>
   <updated>2026-10-28T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/10/28/4.1.0.beta3-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems and Bundler 4.1.0.beta3 include enhancements, bug fixes and features.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.1.0.beta3
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;release-notes&quot;&gt;Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;rubygems&quot;&gt;RubyGems&lt;/h3&gt;

&lt;h4 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Installs bundler 4.1.0.beta3 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Skip executable removal gracefully when the bin directory is missing. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9963&quot;&gt;#9963&lt;/a&gt; by Evan Li and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Fix file locks letting multiple processes in when lock files are removed. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9930&quot;&gt;#9930&lt;/a&gt; by Richard Janita and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Turn off echo before printing the password prompt. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9969&quot;&gt;#9969&lt;/a&gt; by Mike Dalessio&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bundler&quot;&gt;Bundler&lt;/h3&gt;

&lt;p&gt;Changes already released in 4.0.x are not repeated here.&lt;/p&gt;

&lt;h4 id=&quot;features&quot;&gt;Features:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Rename the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;from:&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;to:&lt;/code&gt; keys of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;override&lt;/code&gt; to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;in:&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;with:&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9979&quot;&gt;#9979&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Record overrides in Gemfile.lock (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;OVERRIDES&lt;/code&gt; section). Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9958&quot;&gt;#9958&lt;/a&gt; by Ufuk Kayserilioglu&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;bug-fixes-1&quot;&gt;Bug fixes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Make &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Bundler::Source::Rubygems#hash&lt;/code&gt; agree with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;eql?&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9983&quot;&gt;#9983&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add checksums after platform changes in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle lock&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9960&quot;&gt;#9960&lt;/a&gt; by Farid Zakaria&lt;/li&gt;
  &lt;li&gt;Apply BUNDLE_RETRY to lazy gemspec downloads. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9868&quot;&gt;#9868&lt;/a&gt; by Islam Elsayed&lt;/li&gt;
  &lt;li&gt;Fix file locks letting multiple processes in when lock files are removed. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9930&quot;&gt;#9930&lt;/a&gt; by Richard Janita and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Preload git sources that share a cache one after another. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9951&quot;&gt;#9951&lt;/a&gt; by Shai&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.1.0.beta3.tgz&lt;br /&gt;
d1df725fdf760b881b325649a7283bb3fe8cefdb36d79de020f02d8b9d917d14&lt;/li&gt;
  &lt;li&gt;rubygems-4.1.0.beta3.zip&lt;br /&gt;
a486e8a12f5d572c2f32655648bb4f5ec8f90ba6cb6342d32fdb5ba80b401951&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.1.0.beta3.gem&lt;br /&gt;
c88b359c48d9a4f63f700ca98cc4a0ab6de63f0933205cb5e217aa43f2126a14&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>rubygems.org now shows security warnings for gems</title>
   <link href="https://blog.rubygems.org/2026/10/15/rubygems-org-now-shows-security-warnings-for-gems.html"/>
   <updated>2026-10-15T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/10/15/rubygems-org-now-shows-security-warnings-for-gems</id>
   <author><name>Anton Bondaronok</name></author>
   <content type="html">&lt;p&gt;Most of us have a routine for adding a gem: search for it, open its page on &lt;a href=&quot;https://rubygems.org&quot;&gt;rubygems.org&lt;/a&gt;, glance at the download count and the number of days since the last release, then copy the Gemfile line.&lt;/p&gt;

&lt;p&gt;The whole process takes half a minute. But until now, &lt;a href=&quot;https://rubygems.org&quot;&gt;rubygems.org&lt;/a&gt; did not tell you whether the version you were about to install had a known security issue.&lt;/p&gt;

&lt;p&gt;That information has been public for years. Sources such as the GitHub Advisory Database, OSV and Ruby Advisory Database already track vulnerabilities. It just wasn’t shown on the page where many developers make the decision to add a dependency.&lt;/p&gt;

&lt;p&gt;Now it is.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/security-warnings-for-gems.png&quot; alt=&quot;Security advisories shown on a gem version page&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-security-advisories-appear-on-gem-pages&quot;&gt;How security advisories appear on gem pages&lt;/h2&gt;

&lt;p&gt;When you view a gem version affected by a known security issue, &lt;a href=&quot;https://rubygems.org&quot;&gt;rubygems.org&lt;/a&gt; displays a warning or critical alert based on its severity. Each advisory includes a severity level, a short summary and a link to the full report. If multiple advisories affect that version, the page lists each one so you can assess how the issues affect your application.&lt;/p&gt;

&lt;p&gt;Warnings follow the version you’re viewing. If the latest release includes the fix, the gem’s main page no longer shows that warning. Of course, that doesn’t mean the gem is 100% safe. We recommend that users still exercise normal caution when installing new gems. Older releases that are still affected get a warning icon in the versions list, so you can see which versions are affected.&lt;/p&gt;

&lt;p&gt;The first milestone of this work covers the website only, so &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem install&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle install&lt;/code&gt; do not change yet. The warnings help you review known security issues before running &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle install&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem install&lt;/code&gt;.&lt;/p&gt;

&lt;h2 id=&quot;where-the-vulnerability-data-comes-from&quot;&gt;Where the vulnerability data comes from&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://osv.dev/&quot;&gt;OSV&lt;/a&gt; is the main source of advisory data for this feature. It is an open database that collects vulnerability reports from sources such as the GitHub Advisory Database and provides them in a shared format. &lt;a href=&quot;https://rubygems.org&quot;&gt;rubygems.org&lt;/a&gt; pulls a fresh copy of this data every hour.&lt;/p&gt;

&lt;p&gt;OSV also includes malicious package reports from the &lt;a href=&quot;https://github.com/ossf/malicious-packages&quot;&gt;OpenSSF Malicious Packages&lt;/a&gt; project. &lt;a href=&quot;https://rubygems.org&quot;&gt;rubygems.org&lt;/a&gt; labels the affected gem versions as malware.&lt;/p&gt;

&lt;h2 id=&quot;for-gem-maintainers-what-to-do-if-your-gem-has-a-warning&quot;&gt;For gem maintainers: what to do if your gem has a warning&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://rubygems.org&quot;&gt;rubygems.org&lt;/a&gt; does not write or edit advisories. It displays advisory data collected by OSV from sources such as the GitHub Advisory Database. If a warning about your gem is incorrect, request a correction from the original source.&lt;/p&gt;

&lt;p&gt;For GitHub advisories, you can use the link on the advisory page to suggest improvements. For malware reports, you can contact the OpenSSF project. Once the correction reaches OSV, &lt;a href=&quot;https://rubygems.org&quot;&gt;rubygems.org&lt;/a&gt; picks it up within about an hour.&lt;/p&gt;

&lt;p&gt;After releasing a fix, check that the advisory correctly identifies the fixed version. If it still lists your new release as affected, &lt;a href=&quot;https://rubygems.org&quot;&gt;rubygems.org&lt;/a&gt; will continue to show a warning until the advisory is corrected.&lt;/p&gt;

&lt;h2 id=&quot;whats-next-for-gem-security-data&quot;&gt;What’s next for gem security data&lt;/h2&gt;

&lt;p&gt;The next milestone is to add security advisory data to the Compact Index, the API that Bundler and RubyGems use to retrieve gem and version information. This will make the data available to those tools so they can warn users about affected versions.&lt;/p&gt;

&lt;p&gt;Every warning shown on &lt;a href=&quot;https://rubygems.org&quot;&gt;rubygems.org&lt;/a&gt; depends on the people who maintain the advisory databases behind it. Thanks to everyone doing that work.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>4.0.23 Released</title>
   <link href="https://blog.rubygems.org/2026/10/14/4.0.23-released.html"/>
   <updated>2026-10-14T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/10/14/4.0.23-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems 4.0.23 includes enhancements and Bundler 4.0.23 includes enhancements and bug fixes.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.0.23
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;rubygems-release-notes&quot;&gt;RubyGems Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Update vendored gems to latest versions. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9948&quot;&gt;#9948&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Drop setuid, setgid and sticky bits when extracting gems. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9929&quot;&gt;#9929&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Improve handling of paths with invalid Windows characters. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9276&quot;&gt;#9276&lt;/a&gt; by Said Kaldybaev and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Installs bundler 4.0.23 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;bundler-release-notes&quot;&gt;Bundler Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements-1&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Update vendored gems to latest versions. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9948&quot;&gt;#9948&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Stop retrying a 416 response to a request without Range. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9938&quot;&gt;#9938&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Respect Gemfile lockfile in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle lock&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9661&quot;&gt;#9661&lt;/a&gt; by David Stosik and Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.0.23.tgz&lt;br /&gt;
843f89b1c9c35c28f7ccaf4580cde1e7b00dbd1907b46bcfdcdbc6afa7345e56&lt;/li&gt;
  &lt;li&gt;rubygems-4.0.23.zip&lt;br /&gt;
bd2e4160422465b08d052d1a978f03083905e28f144fa6a334e676153a72cbe0&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.0.23.gem&lt;br /&gt;
f872e6386caaafdd9fc5ade037ac3bd5c9203cd63723a8d31790b15a0a669629&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>4.1.0.beta2 Released</title>
   <link href="https://blog.rubygems.org/2026/10/08/4.1.0.beta2-released.html"/>
   <updated>2026-10-08T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/10/08/4.1.0.beta2-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems and Bundler 4.1.0.beta2 include features, enhancements, breaking changes and bug fixes.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.1.0.beta2
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;release-notes&quot;&gt;Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;rubygems&quot;&gt;RubyGems&lt;/h3&gt;

&lt;p&gt;Changes already released in 4.0.x are not repeated here.&lt;/p&gt;

&lt;h4 id=&quot;features&quot;&gt;Features:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Support content addressable gems in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Gem::PackageTask&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9897&quot;&gt;#9897&lt;/a&gt; by Harriet Oughton, Gira Chawda and Jenny Shen&lt;/li&gt;
  &lt;li&gt;Add &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--content-addressable&lt;/code&gt; to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem build&lt;/code&gt; and make &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--ruby-abi&lt;/code&gt; only set the Ruby ABI. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9906&quot;&gt;#9906&lt;/a&gt; by Harriet Oughton&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Drop setuid, setgid and sticky bits when extracting gems. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9929&quot;&gt;#9929&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Improve handling of paths with invalid Windows characters. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9276&quot;&gt;#9276&lt;/a&gt; by Said Kaldybaev and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Installs bundler 4.1.0.beta2 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;breaking-changes&quot;&gt;Breaking changes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Build a platform gem with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem build --platform&lt;/code&gt; for the local platform. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9873&quot;&gt;#9873&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Fix &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem update --user-install&lt;/code&gt; updating gems outside the user directory. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9872&quot;&gt;#9872&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bundler&quot;&gt;Bundler&lt;/h3&gt;

&lt;p&gt;Changes already released in 4.0.x are not repeated here.&lt;/p&gt;

&lt;h4 id=&quot;features-1&quot;&gt;Features:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Let override drop or replace one dependency of a gem. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9935&quot;&gt;#9935&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sparse_checkout&lt;/code&gt; option to git source. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9295&quot;&gt;#9295&lt;/a&gt; by Ian Ker-Seymer and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Implement &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--exact-match&lt;/code&gt; Flag for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle info&lt;/code&gt; / &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;show&lt;/code&gt; / &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;open&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9489&quot;&gt;#9489&lt;/a&gt; by Harriet Oughton&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Respect Gemfile lockfile in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle lock&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9661&quot;&gt;#9661&lt;/a&gt; by David Stosik and Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.1.0.beta2.tgz&lt;br /&gt;
8a9d6692b72890214b98adcf53d5c48169f05a6631b5cff44e0fead91676f8da&lt;/li&gt;
  &lt;li&gt;rubygems-4.1.0.beta2.zip&lt;br /&gt;
1666a50d1d8a48376f385d410af9a6d07ec0c5e9323cdda77fa7f75d6e544f54&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.1.0.beta2.gem&lt;br /&gt;
73b1485c83b1d11a1587138b7ca9ef763e09931b8d580dc52e92b4821a92a456&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>4.0.22 Released</title>
   <link href="https://blog.rubygems.org/2026/09/30/4.0.22-released.html"/>
   <updated>2026-09-30T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/09/30/4.0.22-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems 4.0.22 includes enhancements and bug fixes and Bundler 4.0.22 includes enhancements, bug fixes and documentation.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.0.22
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;rubygems-release-notes&quot;&gt;RubyGems Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Add –source option to gem exec command. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9765&quot;&gt;#9765&lt;/a&gt; by Akshay Birajdar&lt;/li&gt;
  &lt;li&gt;Keep credentials on redirects only within the same origin. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9909&quot;&gt;#9909&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Validate the version field in Gem::Installer#verify_spec. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9890&quot;&gt;#9890&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Installs bundler 4.0.22 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Remove the build_info file on uninstall and stop gem build from logging unknown extensions. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9894&quot;&gt;#9894&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;bundler-release-notes&quot;&gt;Bundler Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements-1&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Report the effective platform in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle platform&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9898&quot;&gt;#9898&lt;/a&gt; by Islam Elsayed&lt;/li&gt;
  &lt;li&gt;Keep credentials on redirects only within the same origin. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9909&quot;&gt;#9909&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Update Magnus version in Rust extension gem template. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9904&quot;&gt;#9904&lt;/a&gt; by Mat Sadler and Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes-1&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Stop &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Bundler.bin_path&lt;/code&gt; creating the directory it reports. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9887&quot;&gt;#9887&lt;/a&gt; by Islam Elsayed and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Look up &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundler-&amp;lt;command&amp;gt;&lt;/code&gt; executables only in PATH. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9874&quot;&gt;#9874&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;documentation&quot;&gt;Documentation:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Describe &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--major&lt;/code&gt; as preferring the latest major version. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9891&quot;&gt;#9891&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.0.22.tgz&lt;br /&gt;
e7e58e5b95156ce7419f7d3b2ae9ecc4f7fe7a4c61a5837f90c507206d8cc226&lt;/li&gt;
  &lt;li&gt;rubygems-4.0.22.zip&lt;br /&gt;
e0ff9958d7b7a70508dd5db534149db0aec24fdd41092b6a4dcd3551ffdaafcc&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.0.22.gem&lt;br /&gt;
ad91781554e82a10323a105765ecc583f31a085763bb648a5bb3a4689affa30d&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>4.0.21 Released</title>
   <link href="https://blog.rubygems.org/2026/09/16/4.0.21-released.html"/>
   <updated>2026-09-16T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/09/16/4.0.21-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems 4.0.21 includes enhancements and Bundler 4.0.21 includes enhancements and bug fixes.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.0.21
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;rubygems-release-notes&quot;&gt;RubyGems Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Stop vendoring resolv for two regexps. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9877&quot;&gt;#9877&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Normalize absolute symlink targets during gem extraction. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9860&quot;&gt;#9860&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Installs bundler 4.0.21 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;bundler-release-notes&quot;&gt;Bundler Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements-1&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Don’t update bundler to a prerelease unless asked for one. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9869&quot;&gt;#9869&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Reject Bundler redirects that downgrade https to http. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9859&quot;&gt;#9859&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Support &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;safe.bareRepository=explicit&lt;/code&gt; in git sources. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9876&quot;&gt;#9876&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Stop resolving locally for empty CHECKSUMS entries. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9862&quot;&gt;#9862&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Expand the git source gemspec path before the chdir. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9845&quot;&gt;#9845&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.0.21.tgz&lt;br /&gt;
e2c3997023445856cae788dec4cd54726d9bd97c9c81fac03221925ad047482c&lt;/li&gt;
  &lt;li&gt;rubygems-4.0.21.zip&lt;br /&gt;
0735f2635aec7842dbe17c0b317a3ea64d57126dc338462f3b97ae357f276155&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.0.21.gem&lt;br /&gt;
8687de767af55410515fc4ab2ce967130fa2f76de676c290c2c6716ebaf61b30&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>An update on the May spam-publishing campaign on rubygems.org</title>
   <link href="https://blog.rubygems.org/2026/09/11/update-may-spam-publishing-campaign.html"/>
   <updated>2026-09-11T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/09/11/update-may-spam-publishing-campaign</id>
   <author><name>Colby Swandale</name></author>
   <content type="html">&lt;p&gt;Following &lt;a href=&quot;https://www.wsj.com/tech/ai/cyberattack-by-rogue-ai-swarm-stokes-fears-of-out-of-control-agents-473a0352&quot;&gt;reporting by The Wall Street Journal&lt;/a&gt; and the publication of &lt;a href=&quot;https://www.rubyhack.ai/&quot;&gt;research by Nightingale Collective&lt;/a&gt;, we want to clarify what we know about the spam-publishing campaign on rubygems.org in May 2026.&lt;/p&gt;

&lt;p&gt;We take the security of rubygems.org and the community that depends on it seriously. Our team reviewed the activity and discussed the findings with researchers from Nightingale Collective.&lt;/p&gt;

&lt;p&gt;The campaign involved newly registered accounts publishing spam packages. Socket previously documented related activity under the name &lt;a href=&quot;https://socket.dev/blog/gemstuffer&quot;&gt;GemStuffer&lt;/a&gt;. As described in our &lt;a href=&quot;https://status.rubygems.org/incidents/cytf062tkwtt&quot;&gt;May status updates&lt;/a&gt;, we temporarily paused new account registrations, blocked and removed the accounts responsible, and yanked more than 500 malicious packages. Gem installs and pushes for existing users remained unaffected, and registrations reopened on May 16.&lt;/p&gt;

&lt;p&gt;Nightingale Collective’s research describes packages designed to use shared Ruby infrastructure to run code, retrieve publicly available web data, and publish that data back to rubygems.org. The researchers also identified code intended to obtain other users’ API keys. Our investigation found no evidence that these attempts succeeded.&lt;/p&gt;

&lt;p&gt;The researchers attribute the activity to OpenAI agents. Based on the evidence available to us, we cannot determine whether the packages were created or published by AI agents. Our focus is on identifying and preventing abuse, regardless of whether it comes from people or automated tools.&lt;/p&gt;

&lt;p&gt;We appreciate Nightingale Collective’s engagement with our team. Responding to abuse requires time and resources from the people maintaining package repositories, alongside their everyday work of keeping these services secure and reliable for the community.&lt;/p&gt;

&lt;p&gt;Colby Swandale&lt;br /&gt;
Technical Lead, Ruby Central&lt;br /&gt;
On behalf of the rubygems.org team&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>4.1.0.beta1 Released</title>
   <link href="https://blog.rubygems.org/2026/09/09/4.1.0.beta1-released.html"/>
   <updated>2026-09-09T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/09/09/4.1.0.beta1-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems and Bundler 4.1.0.beta1 include features, performance, enhancements, breaking changes, bug fixes and deprecations.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.1.0.beta1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;release-notes&quot;&gt;Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;rubygems&quot;&gt;RubyGems&lt;/h3&gt;

&lt;p&gt;Changes already released in 4.0.x are not repeated here.&lt;/p&gt;

&lt;h4 id=&quot;features&quot;&gt;Features:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Add content addressable gems support. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9773&quot;&gt;#9773&lt;/a&gt; by Jenny Shen, Harriet Oughton and Gira Chawda&lt;/li&gt;
  &lt;li&gt;Let the gem and bundle cooldown settings cover each other. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9852&quot;&gt;#9852&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Rubygems: Add PQC ML-DSA support for cryptographically signed gems workflow. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9697&quot;&gt;#9697&lt;/a&gt; by Jun Aruga, Kazuki Yamaguchi and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Preserve non-UTF-8 legacy gem metadata. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9835&quot;&gt;#9835&lt;/a&gt; by Stanislav (Stas) Katkov&lt;/li&gt;
  &lt;li&gt;Add an opt-in OS credential store for gem and bundler credentials. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9671&quot;&gt;#9671&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add –cooldown to gem install, update and outdated. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9734&quot;&gt;#9734&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Adopt the compact index for gem commands. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9606&quot;&gt;#9606&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Replace Molinillo with PubGrub for dependency resolution. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9402&quot;&gt;#9402&lt;/a&gt; by Matt Larraz and Colby Swandale&lt;/li&gt;
  &lt;li&gt;Replace the rubygems-specific lockfile parser with Bundler’s parser. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9564&quot;&gt;#9564&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Remove pessimistic versioning in gem command output. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9550&quot;&gt;#9550&lt;/a&gt; by Jeremy Evans&lt;/li&gt;
  &lt;li&gt;Change Gem::Version#approximate_recommendation to be optimistic. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9537&quot;&gt;#9537&lt;/a&gt; by Jeremy Evans&lt;/li&gt;
  &lt;li&gt;Add &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--no-build-extension&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--no-install-plugin&lt;/code&gt; options to gem install. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9473&quot;&gt;#9473&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Push with auto-attestation. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9325&quot;&gt;#9325&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Implement yaml parser written by pure ruby instead of Psych. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9352&quot;&gt;#9352&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Honor concurrent_downloads from .gemrc in Gem::ConfigFile. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9339&quot;&gt;#9339&lt;/a&gt; by Andrii Furmanets&lt;/li&gt;
  &lt;li&gt;Add support for custom error response from external registries. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9270&quot;&gt;#9270&lt;/a&gt; by Luis J. Gonzalez&lt;/li&gt;
  &lt;li&gt;Add global gem cache shared by RubyGems and Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9230&quot;&gt;#9230&lt;/a&gt; by Anthony Panozzo&lt;/li&gt;
  &lt;li&gt;Write gem files atomically. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9154&quot;&gt;#9154&lt;/a&gt; by Eileen&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;performance&quot;&gt;Performance:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Remove &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;verify_gz&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9093&quot;&gt;#9093&lt;/a&gt; by Eileen&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Normalize absolute symlink targets during gem extraction. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9860&quot;&gt;#9860&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Installs bundler 4.1.0.beta1 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;breaking-changes&quot;&gt;Breaking changes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Stop installing native extension build logs. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9700&quot;&gt;#9700&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Remove Gem::BasicSpecification#datadir and check minor-release deprecation horizons. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9842&quot;&gt;#9842&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Raise an error when building a gem that has a self reference. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9392&quot;&gt;#9392&lt;/a&gt; by Edouard CHIN&lt;/li&gt;
  &lt;li&gt;Revert &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;DEFAULT_INSTALL_EXTENSION_IN_LIB&lt;/code&gt; and warn &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;require_relative&lt;/code&gt; with C ext. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9390&quot;&gt;#9390&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Remove deprecated and unused &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Gem::List&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9161&quot;&gt;#9161&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bundler&quot;&gt;Bundler&lt;/h3&gt;

&lt;p&gt;Changes already released in 4.0.x are not repeated here.&lt;/p&gt;

&lt;h4 id=&quot;features-1&quot;&gt;Features:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Add content addressable gems support. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9773&quot;&gt;#9773&lt;/a&gt; by Jenny Shen, Harriet Oughton and Gira Chawda&lt;/li&gt;
  &lt;li&gt;Let the gem and bundle cooldown settings cover each other. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9852&quot;&gt;#9852&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;prune&lt;/code&gt; setting to drop rebuildable install artifacts. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9815&quot;&gt;#9815&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add an opt-in OS credential store for gem and bundler credentials. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9671&quot;&gt;#9671&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Fetch Bundler metadata through Gem::Request instead of net-http-persistent. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9786&quot;&gt;#9786&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Reuse RubyGems’ compact index client in Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9753&quot;&gt;#9753&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Reuse RubyGems’ vendored PubGrub in Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9752&quot;&gt;#9752&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Use RubyGems’ YAML serializer in Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9751&quot;&gt;#9751&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Reuse RubyGems’ vendored SecureRandom in Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9651&quot;&gt;#9651&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Reuse RubyGems’ vendored URI in Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9650&quot;&gt;#9650&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Fix two issues by including the ruby platform variants in the lock file. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9556&quot;&gt;#9556&lt;/a&gt; by Randy Stauner&lt;/li&gt;
  &lt;li&gt;Fix plugin installation from gemfile. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/6957&quot;&gt;#6957&lt;/a&gt; by Cody Cutrer, Diogo Fernandes and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add plugin hooks for Gemfile evaluation and source fetching. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9488&quot;&gt;#9488&lt;/a&gt; by Hiroshi SHIBATA, Cody Cutrer and Marv&lt;/li&gt;
  &lt;li&gt;Use optimistic version constraints in bundle gem output. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9533&quot;&gt;#9533&lt;/a&gt; by Jeremy Evans&lt;/li&gt;
  &lt;li&gt;Extend Gemfile &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;override&lt;/code&gt; DSL with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;:all&lt;/code&gt; target and metadata fields (Phase 2). Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9530&quot;&gt;#9530&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Switch bundle add to use optimistic versioning by default. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9526&quot;&gt;#9526&lt;/a&gt; by Jeremy Evans&lt;/li&gt;
  &lt;li&gt;Add Gemfile &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;override&lt;/code&gt; DSL for version constraints (Phase 1). Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9517&quot;&gt;#9517&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--no-build-extension&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--no-install-plugin&lt;/code&gt; options to gem install. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9473&quot;&gt;#9473&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Include detailed dependencies when gemfile and lockfile are conflicts. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9332&quot;&gt;#9332&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Implement relative path handling for plugin paths. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9299&quot;&gt;#9299&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Bundler/inline: perform installation from a forked child. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/7941&quot;&gt;#7941&lt;/a&gt; by Jean Boussier and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Add global gem cache shared by RubyGems and Bundler. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9230&quot;&gt;#9230&lt;/a&gt; by Anthony Panozzo&lt;/li&gt;
  &lt;li&gt;Update custom errors with Exception#full_message. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/8488&quot;&gt;#8488&lt;/a&gt; by neimadTL&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;performance-1&quot;&gt;Performance:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Use separate Bundler download and installation workers. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9777&quot;&gt;#9777&lt;/a&gt; by Joshua Young&lt;/li&gt;
  &lt;li&gt;Cache a shared git source only once per command. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9689&quot;&gt;#9689&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;enhancements-1&quot;&gt;Enhancements:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Reject Bundler redirects that downgrade https to http. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9859&quot;&gt;#9859&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Expand the git source gemspec path before the chdir. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9845&quot;&gt;#9845&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;breaking-changes-1&quot;&gt;Breaking changes:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Remove external tool version checks from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle env&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9593&quot;&gt;#9593&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Bundler: ignore patchlevel kwarg in ruby DSL. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/6023&quot;&gt;#6023&lt;/a&gt; by Takuya N and Hiroshi SHIBATA&lt;/li&gt;
  &lt;li&gt;Unify RubyGems and Bundler documentation. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9237&quot;&gt;#9237&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;deprecations&quot;&gt;Deprecations:&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Rename the no_prune setting to keep_outdated_cache. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9816&quot;&gt;#9816&lt;/a&gt; by Hiroshi SHIBATA&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.1.0.beta1.tgz&lt;br /&gt;
2faf807e908cc4594a22e706face841a3a07dc3f9a3051c125ad8fcfd7503feb&lt;/li&gt;
  &lt;li&gt;rubygems-4.1.0.beta1.zip&lt;br /&gt;
d6964c4526440d05bbf313fe02de9af59e224244f3d2c747492c9bcb6a008caa&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.1.0.beta1.gem&lt;br /&gt;
563d765756298bd9b0554a7ef900b084db26cf692fe4aa5ff7211a3ee94bf66e&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>4.0.20 Released</title>
   <link href="https://blog.rubygems.org/2026/09/02/4.0.20-released.html"/>
   <updated>2026-09-02T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/09/02/4.0.20-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems 4.0.20 includes enhancements, bug fixes and documentation and Bundler 4.0.20 includes enhancements, bug fixes and documentation.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.0.20
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;rubygems-release-notes&quot;&gt;RubyGems Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Print a release notes link instead of the whole changelog on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem update --system&lt;/code&gt;. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9794&quot;&gt;#9794&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Installs bundler 4.0.20 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Only coerce exact true and false gemrc values to booleans. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9822&quot;&gt;#9822&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Make the gem CLI work under RUBY_BOX=1. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9810&quot;&gt;#9810&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;documentation&quot;&gt;Documentation:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Document and test all available gemrc configuration keys. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9568&quot;&gt;#9568&lt;/a&gt; by junaruga&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;bundler-release-notes&quot;&gt;Bundler Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements-1&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Avoid duplicate relative path prefix in bundle exec. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9596&quot;&gt;#9596&lt;/a&gt; by samuel-williams-shopify&lt;/li&gt;
  &lt;li&gt;Follow renamed default branch in git sources. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9813&quot;&gt;#9813&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Bundler::Source::Git: avoid re-fetching the repo. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9806&quot;&gt;#9806&lt;/a&gt; by byroot&lt;/li&gt;
  &lt;li&gt;Show the newest out-of-cooldown version in bundle outdated. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9803&quot;&gt;#9803&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes-1&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Error out when &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle init --gemspec&lt;/code&gt; gets no specification. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9818&quot;&gt;#9818&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Fix relative gemspec paths being expanded twice. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9814&quot;&gt;#9814&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Fix gemspec evaluation under Ruby::Box. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9809&quot;&gt;#9809&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Fix release date extraction for the current changelog header format. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9767&quot;&gt;#9767&lt;/a&gt; by meganemura&lt;/li&gt;
  &lt;li&gt;Resolve globbed entries literally in Gem::Util.glob_files_in_dir. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9802&quot;&gt;#9802&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Preserve native extensions during implicit clean. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9800&quot;&gt;#9800&lt;/a&gt; by sjh9714&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;documentation-1&quot;&gt;Documentation:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Clarify :path expectations and cross-link platform docs in man pages. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9724&quot;&gt;#9724&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.0.20.tgz&lt;br /&gt;
177c816f9952419dbfd1f56ef93e4a9d1fdc60d885c6ca0787283485b0c05408&lt;/li&gt;
  &lt;li&gt;rubygems-4.0.20.zip&lt;br /&gt;
2bc7fbb4f7b9340f7dc9fd6000c974c0a789f8d3113c975c285c590583356929&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.0.20.gem&lt;br /&gt;
829da7b735d04b2125ec86700134f1b035e0df888512e1513fadfa703519f7d5&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>4.0.19 Released</title>
   <link href="https://blog.rubygems.org/2026/08/20/4.0.19-released.html"/>
   <updated>2026-08-20T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/08/20/4.0.19-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems 4.0.19 includes enhancements, bug fixes and documentation and Bundler 4.0.19 includes enhancements, bug fixes and documentation.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.0.19
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;rubygems-release-notes&quot;&gt;RubyGems Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Reject SafeMarshal collection lengths longer than the remaining input. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9756&quot;&gt;#9756&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Installs bundler 4.0.19 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Fix gem uninstall –user-install crash when GEM_HOME does not exist. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9749&quot;&gt;#9749&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;documentation&quot;&gt;Documentation:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Document SPDX license handling for license= and licenses=. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9766&quot;&gt;#9766&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;bundler-release-notes&quot;&gt;Bundler Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements-1&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Validate the platform field in Gem::Installer#verify_spec. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9780&quot;&gt;#9780&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Restrict UserDefined handling to explicit class set for Gem::SafeMashal. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9770&quot;&gt;#9770&lt;/a&gt; by jackorp&lt;/li&gt;
  &lt;li&gt;Filter git command output against the configured URI. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9778&quot;&gt;#9778&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Summarize cooldown-skipped versions at the end of install, update, and lock. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9762&quot;&gt;#9762&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes-1&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Make repeated bundle lock options accumulate. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9748&quot;&gt;#9748&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Fail instead of warning when frozen mode can’t update the lockfile. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9750&quot;&gt;#9750&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Fix wrong $LOAD_PATH for gems installed in the same process. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9784&quot;&gt;#9784&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;documentation-1&quot;&gt;Documentation:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Fix auto-clean default version in bundle config docs. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9783&quot;&gt;#9783&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Correct Bundler 5 default path documentation. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9771&quot;&gt;#9771&lt;/a&gt; by alloutflo&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.0.19.tgz&lt;br /&gt;
c2fa40ca7672b5b86ab5d5c4122fbc69de237da2ef00895a680063e34ab2b116&lt;/li&gt;
  &lt;li&gt;rubygems-4.0.19.zip&lt;br /&gt;
73bc23a0c92ec98f65970dc6b8de04765e4bffd8f92351487a32bec318d63404&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.0.19.gem&lt;br /&gt;
750c931f8113e459f93ba7b29574593a29fc5350f12048df7a5ca83a512d5326&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>Making RubyGems Guides friendly to humans and AI</title>
   <link href="https://blog.rubygems.org/2026/08/06/making-rubygems-guides-ai-friendly.html"/>
   <updated>2026-08-06T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/08/06/making-rubygems-guides-ai-friendly</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;The RubyGems guides at &lt;a href=&quot;https://guides.rubygems.org&quot;&gt;guides.rubygems.org&lt;/a&gt; are read by more than humans these days. AI agents fetch them to answer questions about building, publishing, and installing gems. Evil Martians’ &lt;a href=&quot;https://ruby.evilmartians.com/&quot;&gt;Ruby/Rails LLM discoverability scorecard&lt;/a&gt; asks how easily an agent can find and read Ruby documentation, and the guides had no good answer. There was no machine readable index, and no way to get a page without its navigation and markup. This week we merged three changes that close both gaps.&lt;/p&gt;

&lt;p&gt;The first change adds &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sitemap.xml&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;robots.txt&lt;/code&gt; (&lt;a href=&quot;https://github.com/rubygems/guides/pull/523&quot;&gt;rubygems/guides#523&lt;/a&gt;), giving crawlers a complete map of the site. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;robots.txt&lt;/code&gt; allows everyone, AI crawlers included. Some documentation sites have gone the other way, but these guides exist to be read, and that holds regardless of what is doing the reading.&lt;/p&gt;

&lt;p&gt;The second adds &lt;a href=&quot;https://guides.rubygems.org/llms.txt&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;llms.txt&lt;/code&gt;&lt;/a&gt; and &lt;a href=&quot;https://guides.rubygems.org/llms-full.txt&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;llms-full.txt&lt;/code&gt;&lt;/a&gt; (&lt;a href=&quot;https://github.com/rubygems/guides/pull/525&quot;&gt;rubygems/guides#525&lt;/a&gt;). &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;llms.txt&lt;/code&gt; lists every guide with a one-line description in about 10 KB, so an agent can fetch it once and jump straight to the page it needs. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;llms-full.txt&lt;/code&gt; concatenates the full text of all guides into a single document of about 460 KB, roughly 120,000 tokens. That is most of a context window on many models, so it suits a tool that wants the whole corpus in one pass rather than an agent answering a single question.&lt;/p&gt;

&lt;p&gt;Neither file is written by hand. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;llms.txt&lt;/code&gt; is generated from the same sidebar data that builds the site navigation, so a guide that shows up in the menu shows up in the index, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;llms-full.txt&lt;/code&gt; is assembled by a Jekyll plugin at build time. Neither can quietly fall behind the guides themselves.&lt;/p&gt;

&lt;p&gt;The third serves raw Markdown for every page (&lt;a href=&quot;https://github.com/rubygems/guides/pull/524&quot;&gt;rubygems/guides#524&lt;/a&gt;). Append &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.md&lt;/code&gt; to any guide URL, such as &lt;a href=&quot;https://guides.rubygems.org/what-is-a-gem.md&quot;&gt;what-is-a-gem.md&lt;/a&gt;, and you get the rendered Markdown source with no navigation or markup. That cuts page size to between a half and an eighth of the HTML. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;what-is-a-gem&lt;/code&gt; is 26.7 KB as HTML and 3.3 KB as Markdown. Each HTML page also links its Markdown twin via &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rel=&quot;alternate&quot; type=&quot;text/markdown&quot;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;To try it, hand your agent the URL &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;https://guides.rubygems.org/llms.txt&lt;/code&gt; and ask a RubyGems question. One fetch gives it a table of contents. Every page it reads afterward fills the context window with the answer rather than with navigation and tags, so the same budget covers several times more material.&lt;/p&gt;

&lt;h3 id=&quot;new-formats-need-fresh-content&quot;&gt;New formats need fresh content&lt;/h3&gt;

&lt;p&gt;A machine readable feed is only as useful as the writing behind it. Serving an agent guidance that still mentioned freenode IRC and Ruby 1.8 path layouts would defeat the purpose, so the content was overhauled alongside the formats. The guides are reorganized around tasks instead of tools, into four sections named Getting Started, Guides, Concepts, and Reference. Full-text search is powered by Pagefind, so open any page, press Cmd+K or Ctrl+K, and search the whole site without leaving where you are.&lt;/p&gt;

&lt;p&gt;The new Concepts section explains how the system works, from &lt;a href=&quot;https://guides.rubygems.org/dependency-resolution/&quot;&gt;dependency resolution&lt;/a&gt; to platforms and native gems. Reference now documents &lt;a href=&quot;https://guides.rubygems.org/configuration/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.gemrc&lt;/code&gt; configuration&lt;/a&gt; and environment variables for the first time, and absorbs the Bundler man pages. The &lt;a href=&quot;https://guides.rubygems.org/security/&quot;&gt;security guide&lt;/a&gt; was rewritten around MFA, Trusted Publishing, lockfile checksums, and &lt;a href=&quot;/2026/06/03/cooldown-let-new-gems-be-vetted.html&quot;&gt;cooldown&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;None of this is a one-off. Project DREAM (Driving Ruby’s Evolution to AI Maturity), which Ruby Central set out in &lt;a href=&quot;https://rubycentral.org/news/a-new-chapter-for-ruby-central/&quot;&gt;A New Chapter for Ruby Central&lt;/a&gt;, calls for extending RubyGems and the infrastructure around it to fit the patterns now emerging around AI. Documentation an agent can consume is part of that. Both audiences want the same things from a guide, which are clear structure, current facts, and a page you can reach without wading through anything else.&lt;/p&gt;

&lt;p&gt;This is not a finished piece of work. What counts as machine readable keeps moving, and the conventions that matter a year from now may not be the ones we implemented this week. We will keep watching what actually helps and adapting the guides to it. There is more coming.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>4.0.18 Released</title>
   <link href="https://blog.rubygems.org/2026/08/05/4.0.18-released.html"/>
   <updated>2026-08-05T00:00:00+00:00</updated>
   <id>https://blog.rubygems.org/2026/08/05/4.0.18-released</id>
   <author><name>Hiroshi SHIBATA</name></author>
   <content type="html">&lt;p&gt;RubyGems 4.0.18 includes enhancements, bug fixes and documentation and Bundler 4.0.18 includes enhancements, bug fixes, security and documentation.&lt;/p&gt;

&lt;p&gt;To update to the latest RubyGems you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem update --system [--pre]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To update to the latest Bundler you can run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;gem install bundler [--pre]
bundle update --bundler=4.0.18
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;rubygems-release-notes&quot;&gt;RubyGems Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Check the resolved parent directory before extracting old format gems. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9755&quot;&gt;#9755&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Installs bundler 4.0.18 as a default gem.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Call Kernel.format explicitly in Gem::Deprecate wrapper. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9714&quot;&gt;#9714&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;documentation&quot;&gt;Documentation:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Point bundler.io URLs at guides.rubygems.org. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9737&quot;&gt;#9737&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;bundler-release-notes&quot;&gt;Bundler Release Notes&lt;/h2&gt;

&lt;h3 id=&quot;enhancements-1&quot;&gt;Enhancements:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Don’t mask install errors when no Gemfile can be located. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9757&quot;&gt;#9757&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Warn when duplicate source declarations conflict on cooldown. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9736&quot;&gt;#9736&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Redact URI userinfo from settings names in Bundler User-Agent. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9716&quot;&gt;#9716&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Validate gem name before building compact index cache paths. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9717&quot;&gt;#9717&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;bug-fixes-1&quot;&gt;Bug fixes:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Fail &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle check&lt;/code&gt; when frozen mode needs lockfile changes. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9715&quot;&gt;#9715&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Skip empty checksum values in compact index metadata. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9713&quot;&gt;#9713&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;security&quot;&gt;Security:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Add –cooldown flag to bundle lock and bundle cache. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9725&quot;&gt;#9725&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;documentation-1&quot;&gt;Documentation:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Point bundler.io URLs at guides.rubygems.org. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9737&quot;&gt;#9737&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Document Bundler checksum behavior for default gems. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9735&quot;&gt;#9735&lt;/a&gt; by p-linnane&lt;/li&gt;
  &lt;li&gt;List missing subcommands in bundle(1) UTILITIES section. Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9721&quot;&gt;#9721&lt;/a&gt; by hsbt&lt;/li&gt;
  &lt;li&gt;Document pessimistic operator and eval_gemfile in gemfile(5). Pull request &lt;a href=&quot;https://github.com/ruby/rubygems/pull/9719&quot;&gt;#9719&lt;/a&gt; by hsbt&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;manual-installation&quot;&gt;Manual Installation&lt;/h2&gt;

&lt;p&gt;To install RubyGems by hand see the &lt;a href=&quot;https://rubygems.org/pages/download&quot;&gt;Download RubyGems&lt;/a&gt; page.&lt;/p&gt;

&lt;p&gt;SHA256 Checksums:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;rubygems-4.0.18.tgz&lt;br /&gt;
8ff8738ecbf147d1bd2eff1ca13ea432c45e9bd9489f46a74fb99e7117ed890c&lt;/li&gt;
  &lt;li&gt;rubygems-4.0.18.zip&lt;br /&gt;
637f11a5b337e85ec746d84b76eee4e27e1697c947c9128492e1c5d6359a18c4&lt;/li&gt;
  &lt;li&gt;rubygems-update-4.0.18.gem&lt;br /&gt;
a6a8653069b81b7977d4d341b3ba9f0212f14aa9756f0143dca2dcc3e793db97&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 

</feed>
