mitchellh/vagrant — pull request #4099 by sneal (2014-06-24 23:54:33+00:00)
Title: First attempt at trying to fix issue 2476

One possible solution to #2476, although likely incomplete.

This addresses the error "chef is not part of the bundle" when the chef-client provisioner attempts to delete the node or client from the Chef Server. While this fixes the specific issue on my system, its likely that it does not account for all system configurations like RVM.

The Bundler.with_clean_env should probably be moved internally to Subprocess.execute, but that's a riskier change and I'd like to get some feedback before even attempting that size of change.