[Go to site: main page, start]

General

Profile

hsbt (Hiroshi SHIBATA)

  • Login: hsbt
  • Email: hsbt@ruby-lang.org
  • Registered on: 04/26/2009
  • Last sign in: 07/24/2026

Issues

open closed Total
Assigned issues 65 416 481
Reported issues 13 226 239

Projects

Project Roles Registered on
Ruby Committer, Contributor, Release Manager, Security team, Infrastructure team 01/25/2013

Activity

08/06/2026

07:32 AM Ruby Bug #22123: Ruby::Box + `BUNDLER_SETUP` can evaluate gemspecs before main-box RubyGems initialization
https://github.com/ruby/ruby/pull/18219 hsbt (Hiroshi SHIBATA)
07:30 AM Ruby Bug #22123 (Closed): Ruby::Box + `BUNDLER_SETUP` can evaluate gemspecs before main-box RubyGems initialization
Applied in changeset commit:git|c3c0e280d03561e21fc0894ea693ce3c9ebada0e.
----------
Do not consume BUNDLER_SETUP outside the main box
[Bug #22123]
Bundler evaluates gemspecs through TOPLEVEL_BINDING, which always belongs
to the main b...
hsbt (Hiroshi SHIBATA)
06:09 AM Ruby Bug #22123: Ruby::Box + `BUNDLER_SETUP` can evaluate gemspecs before main-box RubyGems initialization
Some background on why this `require` exists.
`error_highlight`, `did_you_mean` and `syntax_suggest` used to be required at startup right after RubyGems, before `RUBYOPT=-rbundler/setup` ran, so a Gemfile could not control their version...
hsbt (Hiroshi SHIBATA)
07:29 AM Ruby Revision c3c0e280 (git): Do not consume BUNDLER_SETUP outside the main box
[Bug #22123]
Bundler evaluates gemspecs through TOPLEVEL_BINDING, which always belongs
to the main box, so consuming BUNDLER_SETUP while the root box loads
RubyGems runs Bundler code in the main box before RubyGems has finished
loading ...
hsbt (Hiroshi SHIBATA)
07:29 AM Ruby Revision 82684117 (git): Note when the BUNDLER_SETUP require can be dropped
Ruby 4.1 autoloads error_highlight, did_you_mean and syntax_suggest and
deletes BUNDLER_SETUP while loading RubyGems, so the early bundler/setup
is only there for Ruby 3.2 through 4.0.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
hsbt (Hiroshi SHIBATA)
07:29 AM Ruby Revision eec8cf0b (git): Test BUNDLER_SETUP loading in boxes
Based on the test in https://github.com/ruby/ruby/pull/17323, extended to
cover user boxes and the configuration where the decorator gems are not
autoloaded, which is how Ruby 3.2 through 4.0 behave.
Co-Authored-By: Claude Opus 5 <norep...
hsbt (Hiroshi SHIBATA)
07:29 AM Ruby Revision 4c5ba84b (git): Make the autoload test portable to Ruby 4.0
error_highlight, did_you_mean and syntax_suggest are still loaded eagerly
on Ruby 3.2 through 4.0, where BUNDLER_SETUP is loaded in the main box
rather than skipped everywhere, so derive the expectation from the actual
autoload state.
C...
hsbt (Hiroshi SHIBATA)
06:23 AM Ruby Bug #22223 (Closed): Socket.tcp with connect_timeout returns a phantom "connected" socket for a refused connection on macOS 27 (kernel answers EISCONN on connect retry; SO_ERROR never consulted)
Applied in changeset commit:git|82294a714fe3d4cacf54fae631291df908ecb1ab.
----------
[Bug #22223] Check SO_ERROR after waiting for nonblocking connect
Darwin 27 answers the retry connect(2) on a refused nonblocking socket
with EISCONN,...
hsbt (Hiroshi SHIBATA)
06:23 AM Ruby Revision 82294a71 (git): [Bug #22223] Check SO_ERROR after waiting for nonblocking connect
Darwin 27 answers the retry connect(2) on a refused nonblocking socket
with EISCONN, so the retry idiom in Addrinfo#connect_internal returned
an unconnected socket. SO_ERROR still holds the real error, so consult
it after wait_writable, ...
hsbt (Hiroshi SHIBATA)

08/05/2026

10:41 AM Ruby Revision d2b75b5c (git): [ruby/rubygems] Document SPDX license handling for license= and licenses=
RubyGems validates each entry as a single SPDX identifier; compound
expressions such as `MIT OR Apache-2.0` are rejected with a warning at
`gem build`. Document that, the `+`/`WITH` syntax, and the array form
as the only supported way to...
hsbt (Hiroshi SHIBATA)

Also available in: Atom