correct rails v and
correct rails and devise version compatibility