downgrading rails and ruby versions for snap's sake