require rubygems for Ruby1.8.7