Script for Creating A Rails Application Quickly in an SVN Repository
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.
February 7, 2007 at 6:11 am
Rewriting it as a bin executable in a gem (that is, in Ruby) would make it useful to non-unix environments, me thinks.
February 7, 2007 at 3:02 pm
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?
February 8, 2007 at 5:47 am
Whooops!!
My previous comment was swallowed without "comment moderation" message. :-(
Mistakenly Akismet-treated perhaps?
February 8, 2007 at 5:51 am
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! :-)
February 8, 2007 at 1:51 pm
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/
February 8, 2007 at 5:04 pm
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.
February 8, 2007 at 5:05 pm
What the...? Somehow my last comment ended up under the wrong post! Ignore.