use sudo only root.
independent rbenv and ruby_build.
set database owner and encoding.