replace process when rvm .. do .. is called via PATH, update #2683