Set the environment variables and exec-path from shell.