Introducing Git Tools
January 29, 2009 – Robert Evans
We’ve been pretty busy this month with Travel & Gather getting the foundation of the application built. As I said in our last post, we are using Ruby on Rails to build TAG and are using several Rails plugins which I wanted to track. Also, since I have done a lot of Merb development including contributing to Merb itself, I wanted to track Rails as Merb gets integrated in for Rails 3.0.
An obvious choice is using Git Submodules to manage each plugin and rails itself. The only part about that is maintaining each submodule, which can be a bit cumbersome. Ideally, I’d just like to run a rake task that will update everything for me. So, I did just that and wrote Git Tools, a Ruby Gem that makes managing Submodules a breeze.
The basic premise behind this is that you’d use a YAML file to declare all of your submodules and then write a rake task that can update everything. Here’s a quick example of…