Allow for rails 4 as a dependency