Package up for the rails asset pipeline.

We're using this for some of our apps at work and wanted it packaged up as a ruby gem.
I'm not sure if you want to add another package format to your project but thought it might be interesting.

Cheers
This is an unusual pattern. I usually see something more like `root = File.expand_path("../../", __FILE__)`