Sanitize the environment before spawning by preventing influence of the
GEM_PATH from the parent process to the child process.
Not sanitizing on 1.8.7 as the popen3 call doesn't accept an env argument
on pre-1.9.
Merge pull request #182 from ringods/master

Sanitize the environment before spawning