made plenv/rbenv enabling more robust