Check rubygems version when building package