ruby-concurrency / concurrent-ruby

Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.
https://ruby-concurrency.github.io/concurrent-ruby/
Other
5.68k stars 418 forks source link

NameError: uninitialized constant Concurrent::RubyThreadLocalVar #987

Closed wimkorevaar closed 1 year ago

wimkorevaar commented 1 year ago

The last update broke my pipeline. I get the following Error:

bundle exec rake syntax
rake aborted!
NameError: uninitialized constant Concurrent::RubyThreadLocalVar
Did you mean?  Concurrent::RubyThreadPoolExecutor

I now hardcoded it tot version 1.1.10 and it works again. So in one of the merges this variable disappeared, but can't really see this change in any of the PR's

...

eregon commented 1 year ago

Duplicate of https://github.com/ruby-concurrency/concurrent-ruby/issues/986, use Concurrent::ThreadLocalVar and not Concurrent::RubyThreadLocalVar.