Rails Testing, Plugins Engines Which Are Rails Apps

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

We have a plugin which in itself is a standalone rails app. It runs off
of Edge. We use this plugin in three other projects,
however “rake test” fails, because the schema tries to get loaded twice.

The problem is that when rakefiles are loaded Rails will load every
.rake file inside of every directory in vendor/plugins/**/.rake

This ends up loading the “databases.rake” file for our toplevel rails
app, and then one for our plugin. Anyone else have this
issue, or is this setup unique to the fact that we are running
standalone apps as extendable plugins?

Zach
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFgEXxMyx0fW1d8G0RArLvAJ9HRFB0jBoE2440oJa5GlKEqGG02ACeMLrs
TzXOUypQHPR0B4QhQa9/nH4=
=HGEz
-----END PGP SIGNATURE-----