Fix be rails and be rake problem