limit rails version to < 5