Updated to explicitly require rubygems.