Chris Oliver

Joined

247,110 Experience
18 Lessons Completed
271 Questions Solved

Activity

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

I haven't, but it seems you're not the only one https://gist.github.com/Dev...

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

It's located inside your Rails application. It will be generated when you run the "rails new" command.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

For that to work, you need to put your ~/.ssh/id_rsa.pub key into Github.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Ideally you want to do this as your regular user. If you're root, you can do this instead:

su postgres
createuser aaa -s

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Are you a regular user or root when you ran this? I found this when googling it http://www.postgresql.org/m...

Posted in Rails 4.0 with MongoDB and Mongoid Discussion

Fantastic. I'll update the post.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

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!

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

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! :)

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

See this for granting permission to a user inside of Postgres: http://www.cyberciti.biz/fa...

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

It's in there at the top of the Installing Rails section. :)

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Make sure you installed all the dependencies. The native extensions it needs to build are likely the sqlite3 ones.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

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.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Oh of course! Thanks for catching that. I'll make sure to update the tutorial.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Did you install ruby with rbenv? If so, you need to run rbenv rehash to make the executable available.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

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.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

I fixed the wrapping so everything is on one line now! :)

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Sorry, there's word wrapping there. Those two lines are meant to be one.

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

Ah thanks! Fixed that up. :)

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Try running sudo apt-get update and then the install again. Maybe your repository list is out of date.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Yes! That is correct. I'll try to update the tutorial soon to note that. Thanks!

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.