Skip to content

Do not create unnecessary directories#9313

Merged
hsbt merged 2 commits intoruby:masterfrom
nobu:garbages-in-test
Feb 9, 2026
Merged

Do not create unnecessary directories#9313
hsbt merged 2 commits intoruby:masterfrom
nobu:garbages-in-test

Conversation

@nobu
Copy link
Copy Markdown
Member

@nobu nobu commented Feb 6, 2026

What was the end-user or developer problem that led to this PR?

Fix-up #9311.

What is your fix for the problem, implemented in this PR?

Remove useless mkpath calls for basename.

Make sure the following tasks are checked

nobu added 2 commits February 6, 2026 17:56
The method `Spec::Path#vendored_gems` creates the directory containing
the path.  It makes no sense to create a directory with the same name
as its basename in the current working directory.
@hsbt hsbt merged commit 713c1a8 into ruby:master Feb 9, 2026
92 checks passed
@nobu nobu deleted the garbages-in-test branch February 10, 2026 03:15
hsbt added a commit that referenced this pull request Feb 24, 2026
Do not create unnecessary directories

(cherry picked from commit 713c1a8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants