Akhil Bansal has created a cool bash script that will create a new Rails project, import it to an SVN repository, then remove and ignore log files, sessions, temporary files, and set up database.yml correctly. I was previously using a Rake task for this, but installing this script at the OS level might prove easier for me in future.

Comments
Dr Nic ·
Rewriting it as a bin executable in a gem (that is, in Ruby) would make it useful to non-unix environments, me thinks.
seedyjay ·
Wouldn't it be easier to just create a base project with everything you need, upload that to svn, and just svn copy it when you want to create a new project?
Hendy Irawan ·
Whooops!!
My previous comment was swallowed without "comment moderation" message. :-(
Mistakenly Akismet-treated perhaps?
Hendy Irawan ·
My comment was swallowed... again!!
Okay, so a even a single URL mention goes to the moderation queue... But at least a "your comment is awaiting moderation" message would be useful to have. :-)
BTW Peter, I'm eagerly waiting for your Beginning Ruby book! :-)
Akhil Bansal ·
Hey Nic,
here is the ruby script for that.
http://webonrails.com/2007/02/08/ruby-script-for-creating-new-rails-project-and-initial-svn-import-with-ignoringremoving-logother-files/
Daniel Berger ·
Is there SCM integration of any kind? I didn't see mention of it, but I may have missed it. Without that, I'm afraid this is a non-starter.
Daniel Berger ·
What the...? Somehow my last comment ended up under the wrong post! Ignore.