allow rails version 4