Ensure that the correct version of ruby is installed

Install ruby as well as Ruby dev this also includes gem.

Useful on a image that doesn't have ruby in the image by default.