Ensure that the correct version of ruby is installed

Install ruby as well as Ruby dev this also includes gem