Change gemfile to allow usage with AR 4.0+