[COOK-2492] Ampersands, Ruby, Ubuntu and the loss of your sanity

Fix issue with ampersands on ubuntu ruby returning weird exit statuses.

Also added some debug logging and standardized on spaces in the library file
https://gist.github.com/andrewgross/5043186

http://tickets.opscode.com/browse/COOK-2492