Add require "rubygems" to avoid build error on old ruby version

DESC: C