[MOD] modify rails dependencies