Overwrite environment variables passed to Emacs

This will overwrite the environment variables passed to Emacs using the
users default shell if supported.

I've tested with ruby versions 1.8.7 and 2.0.0.