Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

j10io's Profile

GitHub User: j10io

Comments by

Avatar

I came here to share the same fix as given by others. I ended up renaming my authorize method to "check_authorization" and renamed my allow, allow? etc... methods to authorize, authorize? etc...

Avatar

this might help you out https://github.com/j10io/sample_capistrano_app/ it's based on this tutorial as well as the comments in this thread.

Avatar

No, cap deploy doesn't flush the db when you redeploy.

Suggest setting up a $5 per month instance on www.digitalocean.com and creating a test application so you can experiment.

Avatar

As of time of posting, 7th April 2012 ,tutorial still works fantastically on Ubuntu 12.10.

A few updates:

Delete the line in /etc/nginx/sites-enabled/default if you get the error bind() to [::]:80 failed (98: Address already in use)

listen [::]:80 default_server

If using 12.10 or 12.04 use

rbenv bootstrap-ubuntu-12-04

Postgres can still be installed using the method noted in the tutorial, but it's being depreciated in lieu of:

https://wiki.postgresql.org/wiki/Apt