I am not using Rails, but I'm using Sinatra, Sequel and some asynchronous messaging library. I am looking for some recommendation about how to do the wiring.
In a Java world, my natural choice would have been Spring. But I know Ruby is different, and I've been reading this question about IoC in dynamic languages and this nice post from Fabio Kung, which make sense.
What I am missing is the practical side of the solution. I am looking for an elegant solution to manage my application level wiring in a way that is readable, concise and allows me to test and eventually re-wire my application components in test-specific ways.
Is there any reference about how to manage application configuration? Or any specific project I should have a look to?