This image is based on Alpine Linux image, which is only a 5MB image, and contains Ruby 2.3.
Download size of this image is only:
$ docker run --rm frolvlad/alpine-ruby ruby -e 'puts "Hello World"'
Once you have run this command you will get printed 'Hello World' from Ruby!