lock to correct version of rails 4.0
DRY gemfiles for specific versions of rails