Ruby on Rails
SVN Conf Generator

Rails SVN Configuration Generator

Rails makes it easy to start a new application. At the same time, importing a new project into Subversion is not that simple—there are quite few files that should be ignored.

This generator adds a couple of rake commands to help with subversion.

Instructions:

1. Install svn_conf generator


gem install --source http://dist.agilewebsolutions.com svn_conf_generator

(Or, as of 2006.05.29)
gem install svn_conf_generator

2. Generate svn_conf in a new rails project (not imported into svn)


./script/generate svn_conf 

3. Run svn:configure task to create .cvsignore files


rake svn:configure 

NOTE: It is also recommended to change your ~/.subversion/config file to set global-options (Subversion Config Docs) property to something like:


global-ignores=*.log *.html-gzip-* .DS_Store

See other AvailableGenerators.