Install rubygems.