Many times we need to create a new rails project and import it to SVN repository. Each time we have to repeat same commands for creating new rails project, Initial import to SVN, Ignoring *.log files, move database.yml to database.example, ignoring tmp/sessions etc.. etc..

So I have written a bash script that do all this stuff, all you need to do is copy this file to any of your directory and execute this script by issuing ./create_rails_with_subversion & follow screen instructions.

This will:

  • create a new rails project
  • initial import to SVN
  • remove and ignore all log files from svn
  • remove and ignore sessions, cache sockets files from tmp dir
  • move database.yml to database.example
  • ignore database.yml

Download script from here.

I also love to have your feedbacks…

Share this: