Retry 'gem install' several times