mongoid/mongoid-geospatial

Not working with threads?

demersus opened this issue · 4 comments

I am trying to get my application running on Rubinius & Puma web server. The combination runs my application in threads.

I keep getting this error whenever I start my application. (puma -p 3000)

undefined method '<<' on nil:NilClass. (NoMethodError)
mongoid_geospatial-2.7.0/lib/mongoid_geospatial/geospatial.rb:50

Any suggestions?

Ruby version?

Oops. That might be helpful. I was using Jruby 1.7 or Rubinius 2.0

gf3 commented

This seems to be fixed on master but was not released to RubyGems. Should be able to fix by releasing 2.7.1 from the current master.

Done!