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?

Answers


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.


Need Your Help

Calculate by dividing numbers on one form and providing the answer on another

excel-vba type-mismatch calculated-field vba excel

I've been researching this for several days and I can't seem to figure out how to fill in a calculated value. I've got it down to this code, but when it goes through I get a type mismatch 13 debug ...

not able to add core data file to my existing project(version control issue)...?

ios core-data version-control

I have application with iOS Deployment Target 4.0, now I want to add Data Model file lying under iOS-Core Data.But when I try to add this file into my project below message alerted to me...!?!