Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

concurrent-ruby 1.1.1 is causing this gem to break #340

Closed
kapso opened this issue Nov 5, 2018 · 1 comment · Fixed by #343
Closed

concurrent-ruby 1.1.1 is causing this gem to break #340

kapso opened this issue Nov 5, 2018 · 1 comment · Fixed by #343

Comments

@kapso
Copy link

kapso commented Nov 5, 2018

identifier Config needs to be constant (NameError)
	from /Users/kapil/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.1.1/lib/concurrent/synchronization/abstract_struct.rb:140:in `define_struct_class'
	from /Users/kapil/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.1.1/lib/concurrent/mutable_struct.rb:213:in `block in define_struct'
	from /Users/kapil/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.1.1/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `block in synchronize'
	from /Users/kapil/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.1.1/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
	from /Users/kapil/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.1.1/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
	from /Users/kapil/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.1.1/lib/concurrent/mutable_struct.rb:212:in `define_struct'
	from /Users/kapil/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.1.1/lib/concurrent/mutable_struct.rb:207:in `new'
	from /Users/kapil/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/sidekiq-unique-jobs-6.0.6/lib/sidekiq_unique_jobs.rb:45:in `<module:SidekiqUniqueJobs>'
	from /Users/kapil/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/sidekiq-unique-jobs-6.0.6/lib/sidekiq_unique_jobs.rb:40:in `<main>'
@Slike9
Copy link
Contributor

Slike9 commented Nov 6, 2018

@kapso Seems your project uses https://github.com/railsconfig/config gem which defines Config constant in global space. The pr ruby-concurrency/concurrent-ruby#776 fixes the problem in concurrent-ruby gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants