I’m unable to run the tests for the mongo driver and mongomapper but
able to run all but 1 example, and that example doesn’t work on MRI
The error from Test::Unit has something to do with shoulda and mocha in
same project from what I could find on the web.
So the good news I think is that mongomapper seems to work from the
amount of tests I’ve done with it so far.
(master) Â» ir -S rake test:ruby
**Notice: C extension not loaded. This is required for optimum MongoDB
You can install the extension as follows:
gem install mongo_ext
If you continue to receive this message after installing, make sure
mongo_ext gem is in your load path and that the mongo_ext and mongo
are of the same version.
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:inrequire’
require' from :0:inrequire’
require' from C:/ironruby/lib/ruby/1.8/test/unit/autorunner.rb:25 from :0:inrequire’
require' from C:/ironruby/lib/ruby/1.8/test/unit/autorunner.rb:214:inrun’
' from C:/ironruby/lib/ruby/1.8/test/unit/autorunner.rb:12:inrun’
Command failed with status (1): [C:/ironruby/bin/ir.exe -I"lib"
(See full trace by running task with --trace)
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Author of IronRuby in Action (http://manning.com/carrero)
Microsoft IronRuby/C# MVP