Ruby: Fix conflicts with active support

Fixes issue with active_support mentioned in #2282