I am working on a Rails app, for deployment I usually checkout the code from git repository to the production servers which are running apache with mod-rails.
But checking out the complete code, I am also checking out the spec and tests folder, I would like to avoid having test/specs code on my production servers.
Is there a set way of packaging rails application for deployment ? I am using capistrano, so is there a way in capistrano to package so that test/spec are ignored while deploying ?
Bangalore, 560008, KA