https://drone.io is open-sourced continuous integration service. It runs tests of project inside docker container.
This repo provides Dockerfiles for languages which could run on drone.io.
If you want to test ruby app, inside .drone.yml file you should have:
image: bugagazavr/ruby:2.1.5
drone-images is MIT-licensed.