Comments (3)
You can throw it in a Github issue if you like. I've never tested it
against Jruby.
On Wed, Jun 29, 2011 at 9:07 PM, PlasticLizard
[email protected]
wrote:
I'll try to dig into this in more detail later, but I thought I'd capture it. EM-Mongo doesn't seem to work under JRuby, BSON issues:
NativeException in 'EventMachine::Mongo::Collection should handle multiple pending queries'
org.bson.BSONException: should be impossible
org/bson/BSONDecoder.java:35:indecode' org/bson/BSONDecoder.java:35:in
decode'
/home/nathan/.rvm/gems/jruby-1.6.2/gems/bson-1.3.1-java/lib/../lib/bson/bson_java.rb:16:indeserialize' org/jruby/RubyRange.java:407:in
each'
org/jruby/RubyEnumerable.java:706:incollect' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/eventmachine.rb:1447:in
event_callback'
/home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/jeventmachine.rb:82:ineventCallback' /home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/jeventmachine.rb:101:in
run_machine'
/home/nathan/.rvm/gems/jruby-1.6.2/gems/eventmachine-0.12.10-java/lib/eventmachine.rb:256:inrun' /home/nathan/.rvm/gems/jruby-1.6.2/bundler/gems/em-spec-25509a6efa0c/lib/em-spec/rspec.rb:24:in
em'
/home/nathan/.rvm/gems/jruby-1.6.2/bundler/gems/em-spec-25509a6efa0c/lib/em-spec/rspec.rb:62:ininstance_eval' org/jruby/ext/Timeout.java:79:in
timeout'
org/jruby/RubyArray.java:1602:ineach' org/jruby/RubyArray.java:1602:in
each'
org/jruby/RubyKernel.java:1063:in `load'Reply to this email directly or view it on GitHub:
#25
Brenden Grace
from em-mongo.
I have sent a pull-request which fixes this.
from em-mongo.
This issue can be closed.
from em-mongo.
Related Issues (20)
- on_unbind callback never gets invoked HOT 1
- Conflict with mongo gem: already initialized constant ASCENDING_CONVERSION HOT 2
- Bogus tests HOT 2
- Can't pass options to create_collection HOT 3
- undefined method 'defer_as_a' HOT 1
- Is there any logging facility in em-mongo? HOT 3
- Connection timeout trouble HOT 3
- Performance issue with fields > 1 kilobyte HOT 3
- Fibers
- spec_helper missing from gem
- tags are missing for releases HOT 1
- undefined method `docs' for :disconnected:Symbol (NoMethodError) HOT 6
- update fails with MongoDB 2.4.6 HOT 1
- Only works with bson up to '1.9.2' HOT 1
- Connection can not be closed? HOT 2
- Update README about maintainership
- Example not working? HOT 3
- Publish 0.6.0 via rubygems.org HOT 4
- snakes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from em-mongo.