I am something of a newbie to Textmate. When I try to compile with the Latex Bundle, I get the following message:

---------------------------------------------------------------------------------------------------------------------------------------------------
The current PATH is:

/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/usr/X11/bin
Please add the directory containing “kpsewhich” to PATH in TextMate's Shell Variables preferences.

Alternatively, the PATH can be retrieved from Terminal but this requires a relaunch: Set PATH and Relaunch.

---------------------------------------------------------------------------------------------------------------------------------------------------

I saw that there were users on this list who had encountered similar difficulties, but I tried some of the suggested solutions, and they didn't seem to work.

When I launch the alternative path, it creates a new path which is exactly the same as the previous path. I would be grateful for any help with this. I can't seem to figure out how to get this to work, despite numerous attempts.

Thanks in advance for considering helping me out with this.

Best,
Miguel