I haven't, but it seems you're not the only one https://gist.github.com/Dev...
It's located inside your Rails application. It will be generated when you run the "rails new" command.
For that to work, you need to put your ~/.ssh/id_rsa.pub key into Github.
Ideally you want to do this as your regular user. If you're root, you can do this instead:
createuser aaa -s
Are you a regular user or root when you ran this? I found this when googling it http://www.postgresql.org/m...
Fantastic. I'll update the post.
Yes, I think it used to ask before if you wanted to create a superuser but when I tried it again it didn't. Updated the instructions to include "-s". Thanks!
Try using "postgresql-9.3" instead of 9.2. It's been a little while that 9.3 has been out so the repository may have removed support for the older version. If that works, let me know and I'll make sure to update the tutorial. I'll try to get time to run through the tutorial again on my own to verify anything else that's broken. Thanks! :)
See this for granting permission to a user inside of Postgres: http://www.cyberciti.biz/fa...
It's in there at the top of the Installing Rails section. :)
Make sure you installed all the dependencies. The native extensions it needs to build are likely the sqlite3 ones.
You may want to make sure that the user you created has admin rights to create databases. That could be the problem as it looks like only the postgres user has "Create DB" permissions.
Oh of course! Thanks for catching that. I'll make sure to update the tutorial.
Did you install ruby with rbenv? If so, you need to run
rbenv rehash to make the executable available.
Thanks for pointing that out. I wonder why it removes logrotate...That's definitely something you want to keep around unless they have a replacement.
I fixed the wrapping so everything is on one line now! :)
Sorry, there's word wrapping there. Those two lines are meant to be one.
Ah thanks! Fixed that up. :)
sudo apt-get update and then the install again. Maybe your repository list is out of date.
Yes! That is correct. I'll try to update the tutorial soon to note that. Thanks!