p...@ymail.ne.jp wrote: > For dev stuff, for example, I have many versions of ruby installed in the > system by rbenv. > > Since I often change default ruby in interactive shell, this may break the > ruby for sysadmin job in crontab. What’s the solution for this?
Everywhere it matters, set an explicit PATH at the beginning. There is no other solution. -dsr-