fix the version of rails dependency