Bootstrap.sh ruby and gem version bumps

Avoid using the apt distribution of Ruby, and use a more recent and less vulnerable version of Ruby.