revert rails version and some other gems, to have worked application