Reinstall a ruby version if the installation fails