Rails make it easy to start a new application. At the same time, import
a new project into Subversion is not that simple – there are quite few
files that should be ignored.
I used to manually remove added log files and tmp/cache, tmp/sessions,
tmp/sockets files after the import and then go through the painful
process of setting svn:ignore properties.
There is an easier way – simply create .cvsignore files before the
import and svn will honor them.
I created svn_conf generator which will add a new rake task to your
project to automate this. I hope you will find it useful.
- Install svn_conf generator
gem install --source http://dist.agilewebsolutions.com/
- Generate svn_conf in a new rails project (not imported into svn)
- Run svn:configure task to create .cvsignore files
Best regards, Roustem