<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rubygems/basic_specification.rb, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/rubygems] Removed deprecated Gem::BasicSpecification.default_specifications_dir</title>
<updated>2025-11-14T06:09:36+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-14T01:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b3831efb974e4de04b7ccc4ebabb5056f7d2a4fb'/>
<id>b3831efb974e4de04b7ccc4ebabb5056f7d2a4fb</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/60f0b87d47
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/60f0b87d47
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Deprecate Gem::Specification#datadir and will remove it at RG 4.1</title>
<updated>2025-08-05T21:23:02+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-08-05T09:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=052b38a5d9ca4d0ab2ad872bf896fe256a0186f5'/>
<id>052b38a5d9ca4d0ab2ad872bf896fe256a0186f5</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/e99cdab171
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/e99cdab171
</pre>
</div>
</content>
</entry>
<entry>
<title>Move most of Bundler::GemHelpers to Gem::Platform</title>
<updated>2025-06-06T01:22:18+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2025-05-18T15:37:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c0a1e877b3c0c5dd69bb634262bd4e73a07eb27e'/>
<id>c0a1e877b3c0c5dd69bb634262bd4e73a07eb27e</id>
<content type='text'>
This will help centralize wheel platform selection logic eventually

Signed-off-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will help centralize wheel platform selection logic eventually

Signed-off-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Prevent some test suite warnings about missing extensions</title>
<updated>2024-10-14T19:43:39+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-10-14T17:55:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8240fe88f32ff4fec54cb6c425782597efa4d397'/>
<id>8240fe88f32ff4fec54cb6c425782597efa4d397</id>
<content type='text'>
We fixed some issues recently where Bundler would try to activate a
pysch spec with missing extensions and crash. However, as a side effect,
we started printing warnings about missing extensions in situations
where we did not warn before.

It may be interesting to warn on these new situations too, but in order
to minimize changes for now, I'm reverting to printing warnings in the
same situations as before.

https://github.com/rubygems/rubygems/commit/51ebff6982
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We fixed some issues recently where Bundler would try to activate a
pysch spec with missing extensions and crash. However, as a side effect,
we started printing warnings about missing extensions in situations
where we did not warn before.

It may be interesting to warn on these new situations too, but in order
to minimize changes for now, I'm reverting to printing warnings in the
same situations as before.

https://github.com/rubygems/rubygems/commit/51ebff6982
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix `gem pristine etc` resetting gem twice sometimes</title>
<updated>2024-10-10T14:54:04+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-10-08T18:01:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d12c8cbf14084c35209a9cb07bccc8b4bee7760a'/>
<id>d12c8cbf14084c35209a9cb07bccc8b4bee7760a</id>
<content type='text'>
If a default version and a regular version of etc are present at the
same time, RubyGems will end up duplicating work and running pristine
twice.

The `etc` gem is special because it's loaded by RubyGems by default.
When doing this, RubyGems will activate the regularly installed version.
The when `gem pristine` runs, it will find to installed specifications
but materialize both to the already activated specification.

Before:

```
$ gem pristine etc --version 1.4.3
Restoring gems to pristine condition...
Building native extensions. This could take a while...
Restored etc-1.4.3
Building native extensions. This could take a while...
Restored etc-1.4.3
```

After:

```
$ gem pristine etc --version 1.4.3
Restoring gems to pristine condition...
Skipped etc-1.4.3, it is a default gem
Building native extensions. This could take a while...
Restored etc-1.4.3
```

https://github.com/rubygems/rubygems/commit/5c279ac56b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a default version and a regular version of etc are present at the
same time, RubyGems will end up duplicating work and running pristine
twice.

The `etc` gem is special because it's loaded by RubyGems by default.
When doing this, RubyGems will activate the regularly installed version.
The when `gem pristine` runs, it will find to installed specifications
but materialize both to the already activated specification.

Before:

```
$ gem pristine etc --version 1.4.3
Restoring gems to pristine condition...
Building native extensions. This could take a while...
Restored etc-1.4.3
Building native extensions. This could take a while...
Restored etc-1.4.3
```

After:

```
$ gem pristine etc --version 1.4.3
Restoring gems to pristine condition...
Skipped etc-1.4.3, it is a default gem
Building native extensions. This could take a while...
Restored etc-1.4.3
```

https://github.com/rubygems/rubygems/commit/5c279ac56b
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix specs with missing extensions getting activated</title>
<updated>2024-10-10T14:51:32+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-10-04T16:21:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3fdf0e7e6deee8a275869c1ced389f6e4d9975ea'/>
<id>3fdf0e7e6deee8a275869c1ced389f6e4d9975ea</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/c80998a22a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/c80998a22a
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Restore `gem_dir` as an instance variable accessor</title>
<updated>2024-09-24T06:33:31+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-18T17:00:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5228d349d98a2cac91503b73710c31125e62c244'/>
<id>5228d349d98a2cac91503b73710c31125e62c244</id>
<content type='text'>
I suspect someone could be setting this instance variable, and the
previous changes made that no longer effective.

Also I implemented a previous TOOD in `full_gem_path` the other way
around:

&gt; # TODO: This is a heavily used method by gems, so we'll need
&gt; # to aleast just alias it to #gem_dir rather than remove it.

I made `gem_dir` an alias of `full_gem_path` rather than the opposite.

This alternative change keeps both methods symmetric without deprecating
either of them for now.

https://github.com/rubygems/rubygems/commit/28983973a3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I suspect someone could be setting this instance variable, and the
previous changes made that no longer effective.

Also I implemented a previous TOOD in `full_gem_path` the other way
around:

&gt; # TODO: This is a heavily used method by gems, so we'll need
&gt; # to aleast just alias it to #gem_dir rather than remove it.

I made `gem_dir` an alias of `full_gem_path` rather than the opposite.

This alternative change keeps both methods symmetric without deprecating
either of them for now.

https://github.com/rubygems/rubygems/commit/28983973a3
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Remove TODO I can't make much sense of</title>
<updated>2024-09-24T06:33:31+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-18T16:57:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5f47f0f759ebac7b4ce6e8d3d68cabba81f7ffbc'/>
<id>5f47f0f759ebac7b4ce6e8d3d68cabba81f7ffbc</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/6d627e0671
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/6d627e0671
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix TODO</title>
<updated>2024-09-18T16:42:14+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-09-13T09:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ae214be9d678756c5af26fd9161f03ee8340e1c7'/>
<id>ae214be9d678756c5af26fd9161f03ee8340e1c7</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/2cd13005f6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/2cd13005f6
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Also disambiguate gems not in the first Gem.path position</title>
<updated>2024-06-13T14:25:14+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-06-13T11:25:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c2f8e918150d9df17f66ac03713499f3a24912bf'/>
<id>c2f8e918150d9df17f66ac03713499f3a24912bf</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/7e6e7ccc58
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/7e6e7ccc58
</pre>
</div>
</content>
</entry>
</feed>
