I would not follow that document.. follow our official install guide.
https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md
Or the one on Digital Ocean
https://www.digitalocean.com/community/tutorials/how-to-install-discourse-on-ubuntu-14-04