Programmatically modify files: insert something before, after, or replacing a line that matches a pattern, or just at the end.
Bryan Stearns
gem "munger", "~> 0.0.2"