JRuby

43 views
Skip to first unread message

Srdjan Pejic

unread,
Jan 18, 2011, 11:56:06 AM1/18/11
to MongoMapper
Hey guys,

I was wondering if anyone here has used MongoMapper with JRuby lately?
I've run into NullPointer exceptions, as well as inability to save
documents, although the success is reported.

Does anyone have any experience with it or has everyone stuck to MRI
Ruby?

Thanks,

Srdjan

Kyle Banker

unread,
Jan 19, 2011, 1:14:47 PM1/19/11
to MongoMapper
You need to use the latest version of the driver. The bug appeared in
driver version 1.1 but was fixed subsequently.

Srdjan Pejic

unread,
Jan 20, 2011, 12:01:42 PM1/20/11
to MongoMapper
Yep, did that but it didn't fix it. The problem turned out to be in
the JRuby interpreter itself and how it handled defined?(super) call
in MongoMapper internals. I filed the bug and Charles Oliver Nutter
had it fixed. It'll be all good for 1.6 RC2.

Thanks for all your help, Kyle.

Srdjan
Reply all
Reply to author
Forward
0 new messages