summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorTim Smith <[email protected]>2025-06-16 22:15:47 -0700
committerHiroshi SHIBATA <[email protected]>2025-06-18 07:51:16 +0900
commit3cfd71e7e48475d8d36ad1f1f4ca7924f67ef72e ()
tree0f66a6a97fe61a89201cecabf175c669e28fca0c /tool
parentc6a6645495d849735132162187bd8a69c009b7c6 (diff)
Fix minor typos in comments, specs, and docs
Just a bit of minor cleanup Signed-off-by: Tim Smith <[email protected]>
Notes: Merged: https://.com/ruby/ruby/pull/13636
-rw-r--r--tool/lib/_tmpdir.rb6
1 files changed, 3 insertions, 3 deletions
@@ -4,11 +4,11 @@ template = "rubytest."
# Assume the directory by these environment variables are safe.
base = [ENV["TMPDIR"], ENV["TMP"], "/tmp"].find do |tmp|
next unless tmp and tmp.size <= 50 and File.directory?(tmp)
- # On macOS, the default TMPDIR is very long, inspite of UNIX socket
- # path length is limited.
#
# Also Rubygems creates its own temporary directory per tests, and
- # some tests copy the full path of gemhome there. In that caes, the
# path contains both temporary names twice, and can exceed path name
# limit very easily.
tmp