Change Rails version to 4.1.4

Fixes #2640