Skip to content

Instantly share code, notes, and snippets.

@ljones140
Created October 9, 2015 11:06
Show Gist options
  • Save ljones140/7c36e2f349450a2700bb to your computer and use it in GitHub Desktop.
Save ljones140/7c36e2f349450a2700bb to your computer and use it in GitHub Desktop.
Ubuntu Postgres set up for rails
WIll not work first of all as the ubuntu user needs to be given the permission to create databases.
in postgres \du will tell you what users you have and what their roles are
ALTER USER ubuntu WITH SUPERUSER;
When up and running there may a furtehr change required to change the encoding:
https://gist.github.com/amolkhanorkar-webonise/8706915
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment