...sorry about my earlier comment. Somehow, I mixed up the Green and the Red Color. LOL.

If you want to be more precise, you can `def modify_build_environment; <your code here>; end` to specifically add only the paths and evironment variables needed for Tex.