update ruby_core_source so it works with latest ruby version