I think it is easy enough to do that.
First of all, it is not rails fault since rails never know what
plugins you're using for test(e.g. rspec).

You just make a branch and a tag for your particular release that
doesn't include all the files and folders you don't need in production
environment.
Then let your capistrano to checkout that tag from your git
repository.

Regards,
Lewisou

On Sep 21, 9:31 pm, Amiruddin Nagri <[email protected]> wrote:
> 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 ?
>
> Regards,
> Amiruddin Nagri,
> Bangalore, 560008, KA
> India
>
> Y! IM : [email protected]
> GTalk : [email protected]

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to