Restrict activesupport to < 4.0.0 for Ruby < 1.9.3.