Experiment to try supporting ksh.
Use $(id -u) since $UID is not available on ksh.
Add a .kshrc file.
Add chruby_auto to PS1.