LaunchServicesNotFindingApplication

Problem: Some program is not found (by a TextMate command or maybe mate) or possibly the wrong one is found

Solution: Reset your Launch Services database:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill

If you have third party applications installed e.g. in ~/Applications you should add a -seed argument like:

-seed ~/Applications