This project is an example how to use god with two different application which
uses different ruby versions. I assume that ruby and gem speration is made by rvm.
How to run?
hg clone ssh://hg@bitbucket.org/bozy/god-reasearch
cd god-reasearch
god -c ./all.god -D
next go to the browser and request for:
http://localhost:9292/hi
you should get:
"""
Hello app0 - 1.9.3
bundler:1.3.5
rack:1.5.2
rack-protection:1.5.0
tilt:1.4.1
sinatra:1.4.3
"""
and
http://localhost:9293/hi
you should get:
"""
Hello app1 - 1.8.7
bundler:1.3.5
rack:1.5.2
sinatra:1.0
"""
one can see that both application are run on different rubies and using different sinatras.