Issue #15907 has been updated by hsbt (Hiroshi SHIBATA).

Assignee set to hsbt (Hiroshi SHIBATA)
Status changed from Open to Assigned

Hi, Greg.

Thanks to your report. I reverted b76630f73e for another reason. Can you try with the current master as https://github.com/ruby/ruby/commit/3776c48cf41950d2cc994676bb2735ee1a0a474e ?

----------------------------------------
Bug #15907: gem bin stub commands are failing
https://bugs.ruby-lang.org/issues/15907#change-78396

* Author: MSP-Greg (Greg L)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-06-08 master 1696f80f40) [x64-mingw32]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Commands like
```ruby
bundle version
irb  --version
rake --version
rdoc --version
```
are failing. All failure are something similar to:
```
bundle : lib/ruby/2.7.0/rubygems/core_ext/kernel_gem.rb:64:in `synchronize': deadlock; recursive locking (ThreadError)
from lib/ruby/2.7.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
from lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:42:in `require'
```

I think this bug has been exposed by "require rubygems/package where used" b76630f73e, maybe a circular loading issue?






-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>