<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/bundler/commands/doctor_spec.rb, branch master</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] Allow File.writable?/File.readable? fallbacks in doctor specs</title>
<updated>2026-05-14T01:37:59+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2026-04-16T07:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4839d41050e2850047050473333fe1291b67ee32'/>
<id>4839d41050e2850047050473333fe1291b67ee32</id>
<content type='text'>
doctor_spec.rb strict-stubs File.writable? and File.readable? with
specific paths, which was safe as long as the doctor command did
not trigger Plugin.hook. The new before-eval/after-eval hooks
fire during Bundler.definition, which the doctor command calls,
and Plugin.hook initializes Plugin::Index, which touches
Bundler.user_home and calls File.writable? on the test home path.
Those calls do not match the stubs and RSpec raises.

Match the existing File.exist? pattern and add and_call_original
fallbacks so unrelated paths fall through to the real methods,
while the specific stubs continue to control the paths under test.

https://github.com/ruby/rubygems/commit/a8c04c4536

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
doctor_spec.rb strict-stubs File.writable? and File.readable? with
specific paths, which was safe as long as the doctor command did
not trigger Plugin.hook. The new before-eval/after-eval hooks
fire during Bundler.definition, which the doctor command calls,
and Plugin.hook initializes Plugin::Index, which touches
Bundler.user_home and calls File.writable? on the test home path.
Those calls do not match the stubs and RSpec raises.

Match the existing File.exist? pattern and add and_call_original
fallbacks so unrelated paths fall through to the real methods,
while the specific stubs continue to control the paths under test.

https://github.com/ruby/rubygems/commit/a8c04c4536

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[ruby/rubygems] Move bundler/spec to top-level spec/ directory"</title>
<updated>2026-03-23T07:22:35+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2026-03-23T07:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cb5336fb1a0da228ff1915d7e6db388d0c0a9c59'/>
<id>cb5336fb1a0da228ff1915d7e6db388d0c0a9c59</id>
<content type='text'>
This reverts commit d1b8503e59dc5171580efba9f33f256b79008bc4.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit d1b8503e59dc5171580efba9f33f256b79008bc4.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Move bundler/spec to top-level spec/ directory</title>
<updated>2026-03-23T07:16:39+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2026-03-18T23:23:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d1b8503e59dc5171580efba9f33f256b79008bc4'/>
<id>d1b8503e59dc5171580efba9f33f256b79008bc4</id>
<content type='text'>
This simplifies running bundler tests from the repository root.
Tests can now be run with `bin/rspec spec/...` instead of needing
to chdir into bundler/ first.

https://github.com/ruby/rubygems/commit/28670c2e20

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This simplifies running bundler tests from the repository root.
Tests can now be run with `bin/rspec spec/...` instead of needing
to chdir into bundler/ first.

https://github.com/ruby/rubygems/commit/28670c2e20

Co-Authored-By: Claude Opus 4.6 (1M context) &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix doctor command parsing of otool output</title>
<updated>2025-05-12T02:09:22+00:00</updated>
<author>
<name>Randy Stauner</name>
<email>randy.stauner@shopify.com</email>
</author>
<published>2025-04-29T18:30:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4464cbe5cd17cff26b4aceee83c849790b812c8b'/>
<id>4464cbe5cd17cff26b4aceee83c849790b812c8b</id>
<content type='text'>
I have several gem dylibs that have a line matching "(compatibility "
with no file path preceding it.

https://github.com/rubygems/rubygems/commit/de9dc2bdc4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I have several gem dylibs that have a line matching "(compatibility "
with no file path preceding it.

https://github.com/rubygems/rubygems/commit/de9dc2bdc4
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Define `bundler doctor` as a subcommand</title>
<updated>2025-04-22T02:27:23+00:00</updated>
<author>
<name>Edouard CHIN</name>
<email>chin.edouard@gmail.com</email>
</author>
<published>2025-04-03T22:45:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c2e58a90435e506fde3ca055dc9eb3faa2ed6412'/>
<id>c2e58a90435e506fde3ca055dc9eb3faa2ed6412</id>
<content type='text'>
- See explanation in previous commit https://github.com/rubygems/rubygems/commit/170890befb4c

https://github.com/rubygems/rubygems/commit/8f1b5a4479
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- See explanation in previous commit https://github.com/rubygems/rubygems/commit/170890befb4c

https://github.com/rubygems/rubygems/commit/8f1b5a4479
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Modify `bundle doctor` to not report issue when files aren't writable:</title>
<updated>2025-02-25T06:36:46+00:00</updated>
<author>
<name>Edouard CHIN</name>
<email>chin.edouard@gmail.com</email>
</author>
<published>2025-02-20T20:15:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=71f0c37473224580d7c67091588f1a32e64c9a53'/>
<id>71f0c37473224580d7c67091588f1a32e64c9a53</id>
<content type='text'>
- ### Problem

  Running `bundle doctor` warn about files that aren't writable.
  This makes the output of `bundle doctor` very verbose for something
  I believe isn't really an issue.

  ### Context

  Rubygems keeps the files original permission at the time the gem
  is packaged.
  Many gem maintainers have decided that the permissions of the files
  in their bundled would be 0444, this includes amongst others:
  minitest, selenium, brakeman...

  Any git gems that had a 0444 permissions at some point in its git
  history would also be reported (as bundle doctor look in the
  `cache/bundler/git/&lt;gem&gt;/object` path).

  While it completely make sense to report when files aren't readable,
  maybe it's worth questioning the usefulness of reporting files
  that can't be written and what problem this causes to the user
  (if any).

  ### Solution

  Removed the check for unwritable file.

  ### Side note

  I also tweaked the "No issues ..." message logic as it was doing
  the opposite (reporting an issue when there is none and vice versa).
  This wasn't caught in tests because as a stub on `Bundler.ui.info`
  was missing.

https://github.com/rubygems/rubygems/commit/9a426b9495
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- ### Problem

  Running `bundle doctor` warn about files that aren't writable.
  This makes the output of `bundle doctor` very verbose for something
  I believe isn't really an issue.

  ### Context

  Rubygems keeps the files original permission at the time the gem
  is packaged.
  Many gem maintainers have decided that the permissions of the files
  in their bundled would be 0444, this includes amongst others:
  minitest, selenium, brakeman...

  Any git gems that had a 0444 permissions at some point in its git
  history would also be reported (as bundle doctor look in the
  `cache/bundler/git/&lt;gem&gt;/object` path).

  While it completely make sense to report when files aren't readable,
  maybe it's worth questioning the usefulness of reporting files
  that can't be written and what problem this causes to the user
  (if any).

  ### Solution

  Removed the check for unwritable file.

  ### Side note

  I also tweaked the "No issues ..." message logic as it was doing
  the opposite (reporting an issue when there is none and vice versa).
  This wasn't caught in tests because as a stub on `Bundler.ui.info`
  was missing.

https://github.com/rubygems/rubygems/commit/9a426b9495
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Stub-out additional examples and removed needless Error definition</title>
<updated>2025-02-13T00:37:50+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-02-12T09:33:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dc8cde479c257a064f4b8bc017c6c1a49b7d15ea'/>
<id>dc8cde479c257a064f4b8bc017c6c1a49b7d15ea</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/d24d0b5c43
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/d24d0b5c43
</pre>
</div>
</content>
</entry>
<entry>
<title>Expand stub-out scope of Fiddle.dlopen</title>
<updated>2025-02-04T22:36:59+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-01-23T06:19:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=470784cbd94a70da5d3e3167dfe4f17e3b025287'/>
<id>470784cbd94a70da5d3e3167dfe4f17e3b025287</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Synchronize Bundler &amp; RubyGems (#11071)</title>
<updated>2024-06-28T14:12:29+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-06-28T14:12:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=98c923ff4bbeeb4a8f9f63ea2695a38471da42c2'/>
<id>98c923ff4bbeeb4a8f9f63ea2695a38471da42c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Update incorrect comments.</title>
<updated>2023-10-11T19:07:28+00:00</updated>
<author>
<name>Ellen Marie Dash</name>
<email>me@duckie.co</email>
</author>
<published>2023-09-30T04:30:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=28a6c4a1ad4935e1a0af7904e17733555988b88a'/>
<id>28a6c4a1ad4935e1a0af7904e17733555988b88a</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/6b21f593f3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/6b21f593f3
</pre>
</div>
</content>
</entry>
</feed>
