[#55964186] Fixed bootstrap to install ruby

Bootstrap script fails to do puppet stuff if it does not find ruby and rubygems. Installing
ruby only if it is missing.