I'm developing two gem: Runel and Runic.
Runel depends on Runic.
But then how do I get Runic to load up to run Runel tests (and bundle install).
I need Runic in the Runel tests because some of Runel's classes extend from Runic's classes. And I want to test it (try it out) as the whole thing (Runel is a VM, Runic is the base for it).
If Runel depends on Runic, then the tests of Runic should use Runel. That is, Runic provides a service and this service should be tested as an independent thing.
In the same way, your unit tests in Runel shouldn't use Runic. This affirmation is not true for integration tests.
If you consider this does not make sense, then maybe your two gems should actually form one.
It was just that they were prerelease versions (0.0.1.dev.1).
But bundle install
still gives Fetching source index for http://rubygems.org/
Could not find gem 'runic (~> 0.0) x86-mingw32', which is required by gem 'runel (>= 0) x86-mingw32', in any of the sources.