update rails to current version and freeze rack version to 1.4.5.