I am trying to use the rake runner to run tests for a merb application. That application uses "bundled" dependencies. Essentially all gems get installed into the project_root/gems directory and the project_root/bin/rake script is used to run the tests. The bin/rake script simply modifies the Gem.path so that the dependencies are loaded from project_root/gems rather than the system gem path.
As far as I can tell, this sort of setup isn't possible with the out-of-the-box rake runner. Any suggestions on the best way to hack something together that would delegate to the project_root/bin/rake script?
I've attached the project_root/bin/rake script for reference.