RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: rudedoc
This is exactly the episode I was looking for. Ryan Bates is a leg-end!
One thing I'm not sure about:
Should there be a call to rbenv rehash inserted some where in one of the capistrano recipes. I tried adding paperclip to a project and deploying it but the application is not picking it up when it starts up. The recipe does run the bundle command to install new gems when doing a standard cap deploy but from what I can see from reading around I suspect the rbenv rehash needs to be called after the bundle command and I'm not sure if it is included in the recipe provided by Ryan in this example. If this is the case it would explain why my app is not picking up paperclip and is not starting. I'm not sure myself where or how I would make the call to rbenv rehash in the capistrano recipe.
Perhaps some would be kind enough to point me in the right direct?