The test runs are generally caused by requiring test/unit outside of
your tests. It adds code to run at exit. The warning is something
I've never seen before.
> I'm guessing I haven't given enough information, so please tell me
> what (if anything) you guys need to help.
Odds are it's caused by one of your plugins. Try disabling them one
by one until you find which one is causing these messages.
Can't you just put the config.gem call in config/environments/test.rb
Or use GemInstaller (http://geminstaller.rubyforge.org/) via
preinitializer.rb, if you still cannot get things loaded in the order
you need. preinitializer.rb happens before boot or any of the env
files are parsed...