Creator - Rapid Rails Setup

June 17th, 2007 -

Finally, this weekend I found some free time to finish off my first gem release: Creator – Rapid Rails Setup.

I’ve been promising this gem for some time now, but with numerous projects going on at work, several freelance projects, and trying to find time to spend with my 1 year old little girl, it’s been hard to find time to do any personal projects these days. (phew, now that is a sentence!) Since it was father’s day, I decided I would do a few things I have been wanting to do for months now, and this was one of them.

I have a Ruby Forge account setup for the project, just head over here and grab the gem. Once you have it installed on your system, open a terminal window and type creator. There are instructions that will walk you through the process allowing several options:

  • Create your project on Edge Rails or whatever version you have installed on your system.
  • Choose what database you’re using (mysql, postgres, etc) – this sets up your config/database.yml file
  • Choose the name of your Project
  • Decide if you are checking this into subversion or not
  • If you are checking it into subversion, then it will automatically check it out again on your local machine – this because it will then do svn:ignore on several files (database.yml, log, tmp)

Hopefully in the near future I’ll have some time to add a few more options, such as not checking it out from subversion, after checkin, of you so choose.

If you have any suggestions of what you’d like to see added, just leave me a comment. Hope you like it!

Tags: rails, ruby

 

Comments

Yannick

June 17th, 2007

Congrats on your first gem Robert. Looking forward to further updates and your further contributions to Rails. :)

Robert

June 17th, 2007

Thanks Yannick! Hopefully I can get some more free time and work on some other things.

Dr Nic

June 17th, 2007

Nice use of Father’s Day. “Dear Husband, want to spend the day with your kids?” “Ah no. Its Father’s Day, I’m spending it with me” :P

Where is your svn repo, so I hack and patch it?

Jeff

June 18th, 2007

Thanks Robert, I’ll definitely be playing with this.

Robert

June 18th, 2007

Nic: lol, yeah I took 20 minutes to finish this gem off that I had been promising for a long time. So, not even a day has passed and you found a bug? Sheesh. :p

Here’s the svn repo – http://viewvc.rubyforge.mmmultiworks.com/cgi/viewvc.cgi/?root=rrs-gem

Jeff: hope you enjoy it!

Neil Wilson

June 20th, 2007

Robert,

Can I suggest creating a ~/.subversion/config file first and then creating the Rails project in a slightly different fashion. That way files that need to be ignored are automatically ignored and you don’t need a separate checkout directory.

Magic instructions on the old blog: http://3spoken.wordpress.com/tag/software-development/version-control-with-subversion/

Rgs

NeilW

 

Commenting has been turned off.