Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Script for Creating A Rails Application Quickly in an SVN Repository

By Peter Cooper / February 6, 2007

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

  1. Dr Nic says:

    Rewriting it as a bin executable in a gem (that is, in Ruby) would make it useful to non-unix environments, me thinks.

  2. seedyjay says:

    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?

  3. Hendy Irawan says:

    Whooops!!

    My previous comment was swallowed without "comment moderation" message. :-(

    Mistakenly Akismet-treated perhaps?

  4. Hendy Irawan says:

    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! :-)

  5. Akhil Bansal says:

    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/

  6. Daniel Berger says:

    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.

  7. Daniel Berger says:

    What the...? Somehow my last comment ended up under the wrong post! Ignore.

Other Posts to Enjoy

Twitter Mentions