Getting started on a new rails app and want to get setup on svn?.. These are the common tasks you might need to get you started.

1) Create your new repository (if it doesn’t already exist).

svnadmin create <path to repository>/<repository name>

2) Create the project directory structure and import it into svn.

mkdir -p <project name>/trunk
mkdir -p <project name>/branches
mkdir -p <project name>/tags

svn import <project name>  http://<url>/<repository name> -m “initial import of project structure”

3) Do a clean checkout of the project
svn co http://<url>/<repository name>/trunk .

4) Create the skeleton rails app.
rails <project name>

5) Add the files to svn
svn add . –force

6) Check files in
svn ci -m “initial import”

7) Remove unecessary files

svn remove log/*
svn propeset svn:ignore “*.*” log/
svn ci -m “removing log files”