Change rubygems version in before_install script