Which messes up the execution of any Bundler-managed task executables.
Need to remove it from the ENV after forking (but before calling the external script). If you need to have it defined you can always add it to the set of env vars in the task definition.
It might actually be better to just issue an ENV.clear rather than just remove individual settings: not sure how this will work out though. It's always difficult trying to figure out what's wrong with scripts that execute with a completely clean environment.