Thanks for that. I now know what the problem is. I had initially extracted the file in ~/Downloads folder and the link it created referenced TextMate in ~/Downloads. But I had later moved the file to Applications. So the current mate points to a missing file.

lrwxr-xr-x   1 root      wheel        78 Oct 17 17:47 mate -> /Users/anjanesh/Downloads/TextMate.app/Contents/SharedSupport/Support/bin/mate

Thanks Patric. This is now solved.
---------------------------------------------------------
Thanks & Regards
Anjanesh Lekshminarayanan



On Sun, Nov 27, 2011 at 9:59 PM, Patric Zimmermann <Patric.Zimmermann@physik.tu-berlin.de> wrote:
is the file really there?
how about the permissions?  =>  ls -la in /usr/local/bin/ 

if it's really there... does it work using sudo ?
If so it's most likely a permission thingy... 



Am 27.11.2011 um 17:26 schrieb Anjanesh Lekshminarayanan:

Nope.
$ mate
-bash: mate: command not found
---------------------------------------------------------
Thanks & Regards
Anjanesh Lekshminarayanan



On Sun, Nov 27, 2011 at 9:52 PM, Patric Zimmermann <Patric.Zimmermann@physik.tu-berlin.de> wrote:
does it work when U type 'mate' in /usr/local/bin/  ???


Am 27.11.2011 um 17:19 schrieb Anjanesh Lekshminarayanan:

go to TextMate > Help > Terminal usage… to install the CLI tools.
When I click on Create Link, it says, Couldnt create link. Failed with the following reason : Operation not permitted.

anjanesh$ sudo ln -s /Applications/TextMate.app/Contents/Resources/mate /usr/local/bin/mate
Password:
ln: /usr/local/bin/mate: File exists
anjanesh$ mate
-bash: mate: command not found

---------------------------------------------------------
Thanks & Regards
Anjanesh Lekshminarayanan



On Sun, Nov 27, 2011 at 9:29 PM, Juande Santander Vela <juandesant@gmail.com> wrote:
Are you sure your path is being updated? .profile is not typically called during bash startup (at least in Mac OS X). Try to do:

. ~/.profile

in the Terminal just to be sure.

OTOH, you do not need to add anything to your .prifle. CLI tools are not installed automatically, but through TextMate’s Help menú:

go to TextMate > Help > Terminal usage… to install the CLI tools.

Or you can do the equivalent action at the terminal:

sudo ln -s /Applications/TextMate.app/Contents/Resources/mate /usr/local/bin/mate

On nov 27, 2011, at 12:01 p.m., Anjanesh Lekshminarayanan wrote:

> Hello
> mate in command line doesn't fire up TextMate editor.
> I added export PATH=/Applications/TextMate.app/Contents/Resources/mate:$PATH to my .profile file, and restarted terminal but it still doesn't load.
> Is there another way ?
> ---------------------------------------------------------
> Thanks & Regards
> Anjanesh Lekshminarayanan

--
Juande Santander Vela
Software Engineer, ALMA Archive Subsystem
Data Flow Infrastructure Department, Software Development Division
European Southern Observatory (Germany)

Bertrand Russell: Aún cuando todos los expertos coincidan, muy bien podrían estar equivocados.


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate



_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate



_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate