Take me home

Creating edge apps

Published December 13, 2007

I’m living on trunk/edge, and I use this shellscript to create new rails apps.

I have a Rails trunk checked out and ready. This is what the shellscript does:

#!/usr/bin/env bash
svn up $EDGE_IS_AT
ruby "$EDGE_IS_AT/railties/bin/rails" $@

I stored that in a file called ‘edgerails’, added it to a bin directory, and hey ho!

edgerails new_app_name

It ups the trunk to the very latest version, and creates the rails app with the rails command of the edge rails. Yep!

Questions or comments?

Feel free to contact me on Twitter, @augustl, or e-mail me at august@augustl.com.