-
Notifications
You must be signed in to change notification settings - Fork 419
Closed
Labels
bugA bug in the library or documentation.A bug in the library or documentation.looking-for-contributorWe are looking for a contributor to help with this issue.We are looking for a contributor to help with this issue.
Description
Release of concurrent-ruby 1.1.7 appears to have introduced a regression when requiring 'concurrent/atomic/ruby_thread_local_var'
directly.
* Operating system: mac
* Ruby implementation: Ruby
* `concurrent-ruby` version: 1.1.7
* `concurrent-ruby-ext` installed: no
* `concurrent-ruby-edge` used: no
Below is a snippet which demonstrates the current behavior (in 1.1.7) and the expected behavior (in 1.1.6).
emilyst@MBP15-16-500-WQ123 ~ % gem install concurrent-ruby -v 1.1.7
Fetching concurrent-ruby-1.1.7.gem
Successfully installed concurrent-ruby-1.1.7
Building YARD (yri) index for concurrent-ruby-1.1.7...
Done installing documentation for concurrent-ruby after 2 seconds
1 gem installed
emilyst@MBP15-16-500-WQ123 ~ % pry
[1] pry(main)> require 'concurrent/atomic/ruby_thread_local_var'
NoMethodError: undefined method `on_cruby?' for Concurrent:Module
from /Users/emilyst/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb:39:in `<class:RubyThreadLocalVar>'
Caused by LoadError: cannot load such file -- concurrent/atomic/ruby_thread_local_var
from /Users/emilyst/.rbenv/versions/2.7.1/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
[2] pry(main)>
emilyst@MBP15-16-500-WQ123 ~ % gem uninstall concurrent-ruby -v 1.1.7
Successfully uninstalled concurrent-ruby-1.1.7
emilyst@MBP15-16-500-WQ123 ~ % gem install concurrent-ruby -v 1.1.6
Successfully installed concurrent-ruby-1.1.6
Building YARD (yri) index for concurrent-ruby-1.1.6...
Done installing documentation for concurrent-ruby after 1 seconds
1 gem installed
emilyst@MBP15-16-500-WQ123 ~ % pry
[1] pry(main)> require 'concurrent/atomic/ruby_thread_local_var'
=> true
[2] pry(main)>
Thanks in advance!
Metadata
Metadata
Assignees
Labels
bugA bug in the library or documentation.A bug in the library or documentation.looking-for-contributorWe are looking for a contributor to help with this issue.We are looking for a contributor to help with this issue.