This is a sample project for Shoestrap.
Take a look at https://github.com/cmer/shoestrap-example/blob/master/web and https://github.com/cmer/shoestrap-example/blob/master/recipes/default/rbenv. I think it's as clean as it gets.
You can find Shoestrap at http://github.com/cmer/shoestrap.