Using Rails 3.0.7 and git, deploying with capistrano. I’m using different machines as web and app servers. I cannot deploy the application code to the web server, only the static assets–basically the public/ folder.
This would seem common but no luck searching for a best practice.
Is anything build around capistrano to handle this case? Otherwise I’m thinking that adding tasks to create the structure, but scp the public directory from the app server would be the solution.
Best approach I’ve come up with is to in fact scp files over to the web server.