added support for legacy ruby version gem requirements

When doing a bundle install bundler was trying to install 4.0 gem versions for activemodel and activesupport. If the ruby version was 1.9.2 or earlier this blows up as they require 1.9.3 or greater. I added a check for the ruby version in order to select the right version of activesupport and activemodel for legacy ruby versions.