# Mongomapper

**URL:** <https://www.ruby-forum.com/t/mongomapper/184407>\
**Category:** IronRuby\
**Created:** [March 2, 2010, 1:58am UTC](https://www.ruby-forum.com/t/mongomapper/184407 "2010-03-02T01:58:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xjivan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/6f9a4e/32.png) [@xjivan](https://www.ruby-forum.com/u/xjivan)\
**Post date:** [March 2, 2010, 1:58am UTC](https://www.ruby-forum.com/t/mongomapper/184407/1 "2010-03-02T01:58:39Z")

</div>

Hi

I’m unable to run the tests for the mongo driver and mongomapper but  
I’m  
able to run all but 1 example, and that example doesn’t work on MRI  
either.  
The error from Test::Unit has something to do with shoulda and mocha in  
the  
same project from what I could find on the web.

So the good news I think is that mongomapper seems to work from the  
limited  
amount of tests I’ve done with it so far.

- C:\dev\mongo-ruby-driver  
(master) Â» ir -S rake test:ruby  
(in C:/dev/mongo-ruby-driver)  
C:/ironruby/bin/ir.exe -I"lib"  
“C:/ironruby/lib/ironruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake\_test\_loader.rb”  
“test/unit/collection\_test.rb” “test/unit/connection\_test.rb”  
“test/unit/cursor\_test.rb” “test/unit/db\_test.rb”

\*\*Notice: C extension not loaded. This is required for optimum MongoDB  
Ruby  
driver performance.  
You can install the extension as follows:  
gem install mongo\_ext

If you continue to receive this message after installing, make sure  
that  
the  
mongo\_ext gem is in your load path and that the mongo\_ext and mongo  
gems  
are of the same version.

## :0:in `const_missing': uninitialized constant Test::Unit::TestResult::TestResultFailureSupport (NameError) from C:/ironruby/lib/ironruby/gems/1.8/gems/test-unit-2.0.3/lib/test/unit/testresult.rb:28 from C:/ironruby/lib/ironruby/gems/1.8/gems/test-unit-2.0.3/lib/test/unit/ui/testrunnermediator.rb:9 from C:/ironruby/lib/ironruby/gems/1.8/gems/test-unit-2.0.3/lib/test/unit/ui/console/testrunner.rb:9 from :0:in `require’ from custom\_require.rb:30:in `require' from :0:in `require’ from custom\_require.rb:30:in `require' from C:/ironruby/lib/ruby/1.8/test/unit/autorunner.rb:25 from :0:in `require’ from custom\_require.rb:30:in `require' from C:/ironruby/lib/ruby/1.8/test/unit/autorunner.rb:214:in `run’ from :0:in `[]' from C:/ironruby/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run’ from C:/ironruby/lib/ruby/1.8/test/unit.rb:278 rake aborted! Command failed with status (1): [C:/ironruby/bin/ir.exe -I"lib" "C:/ironrub…] C:/dev/mongo-ruby-driver/rakefile:38 (See full trace by running task with --trace)

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Web: [http://whiterabbitconsulting.eu](http://whiterabbitconsulting.eu) - [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))  
Microsoft IronRuby/C# MVP
