Last Updated on November 30, 2019 by Christopher G Mendla
I screwed up my droplet (ruby on rails) on my digitalocean hosting by running bundle install as root. When you do that, there is a warning that this will break rails for other users. I haven’t taken the time to figure out how to fix that. Since I was getting started with that hosting, I decided to simply delete the existing droplet and recreate it.
However, since I do need to use root from time to time, I made it a standard procedure to always run whoami before running any bundle commands. That way, I can make sure I am logged in as rails and not root.
Hi Chris, thanks for sharing your experience with whoami