Fix version of rubygems on 1.8.24