make the rubygem installer more reliable