Relax rails gem requirement to support Rails4