god icon indicating copy to clipboard operation
god copied to clipboard

Ruby 2.1 possibly 2.0 (didn't test 2.0) incompatiblity

Open hersha opened this issue 11 years ago • 2 comments

Under ruby 2.1 on CentOS 6 god is throwing the following error that doesn't crash god but continues to get thrown and proceeds to fill /var/log/messages up with backtraces

Unhandled exception in driver loop - (NoMethodError): undefined method `synchronize' for 
nil:NilClass#012/home/pjn/.rvm/gems/ruby-2.1.0/gems/god-0.12.1/lib/god/compat19.rb:26:in 
`wait'#012/home/pjn/.rvm/gems/ruby-2.1.0/gems/god-0.12.1/lib/god/compat19.rb:11:in 
`wait'#012/home/pjn/.rvm/gems/ruby-2.1.0/gems/god-0.12.1/lib/god/driver.rb:120:in 
`block in pop'#012/home/pjn/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in 
`mon_synchronize'#012/home/pjn/.rvm/gems/ruby-2.1.0/gems/god-0.12.1/lib/god/driver.rb:117:in 
`pop'#012/home/pjn/.rvm/gems/ruby-2.1.0/gems/god-0.12.1/lib/god/driver.rb:181:in 
`block (2 levels) in initialize'#012/home/pjn/.rvm/gems/ruby-2.1.0/gems/god-0.12.1/lib/god/driver.rb:179:in 
`loop'#012/home/pjn/.rvm/gems/ruby-2.1.0/gems/god-0.12.1/lib/god/driver.rb:179:in `block in initialize'

hersha avatar Jan 14 '14 15:01 hersha

Same here with OS X 10.9.1

Unhandled exception in driver loop - (NoMethodError): undefined method `synchronize' for nil:NilClass
/Users/johnnyboy/.rvm/gems/ruby-2.1.0@tame/gems/god-0.13.1/lib/god/compat19.rb:26:in `wait'
/Users/johnnyboy/.rvm/gems/ruby-2.1.0@tame/gems/god-0.13.1/lib/god/compat19.rb:11:in `wait'
/Users/johnnyboy/.rvm/gems/ruby-2.1.0@tame/gems/god-0.13.1/lib/god/driver.rb:123:in `block in pop'
/Users/johnnyboy/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/Users/johnnyboy/.rvm/gems/ruby-2.1.0@tame/gems/god-0.13.1/lib/god/driver.rb:117:in `pop'
/Users/johnnyboy/.rvm/gems/ruby-2.1.0@tame/gems/god-0.13.1/lib/god/driver.rb:181:in `block (2 levels) in initialize'
/Users/johnnyboy/.rvm/gems/ruby-2.1.0@tame/gems/god-0.13.1/lib/god/driver.rb:179:in `loop'
/Users/johnnyboy.rvm/gems/ruby-2.1.0@tame/gems/god-0.13.1/lib/god/driver.rb:179:in `block in initialize'

wowawiwa avatar Feb 21 '14 09:02 wowawiwa

I upgraded to god 0.13.4 and this issue went away for me.

jbgo avatar Mar 10 '14 16:03 jbgo