Retry installing ruby gems