Chef: deploy rails from git subfolder
I'm using Chef to deploy a rails server. I'm storing my code in a git repository, but it's not the only item in the repository, it's in a subfolder
repo/ project-files/ more-project-files/ rails-app/
Chef's deploy seems great, but it doesn't allow me to deploy from the subfolder (at least natively) Is there a clever way of doing this, or am I stuck using `execute' to run the rake tasks myself?
Decided to check out the entire project to a folder, and use symlinks to link in the folders we needed.
If we need to, we could use the Git built-in 'partial checkout' stuff, but we'd have to issue the command through execute instead of deploy. We'll investigate further if the project requires, but this works for now. Too bad that Chef's deploy doesn't have that functionality.