First, I'd like to congratulate Allan on an amazing job on TM2. It is truly a pleasure to discover / re-discover textmate.
I was wondering where the mate command went in the 8956 version. When I install mate into ~/bin it symlinks to mate -> /Applications/TextMate.app/Contents/Resources/mate except when I look in Resources I don't see it in there.
-bakki .--. |o_o | -Bakki Kudva | :_/ | Navaco, LLC / / \ \ (| | ) /'_ _/`\ ___)=(___/
On Dec 23, 2011, at 9:11 AM, Bakki Kudva wrote:
I was wondering where the mate command went in the 8956 version. When I install mate into ~/bin it symlinks to mate -> /Applications/TextMate.app/Contents/Resources/mate except when I look in Resources I don't see it in there.
On my system, mate is an executable, not a symlink. Try reinstalling the command from the Preferences.
Trevor
Hi Trevor,
I did install it from Preferences and the symlink was created by Textmate. It would appear that the mate executable would be at /Applications/TextMate.app/Contents/Resources/mate. I even tried to change location to /usr/local/bin but that doesn't work either. I wonder if this is a Lion related issue.
Thanks for your input.
-bakki .--. |o_o | -Bakki Kudva | :_/ | Navaco, LLC / / \ \ (| | ) /'_ _/`\ ___)=(___/
On Fri, Dec 23, 2011 at 12:21 PM, Trevor Harmon trevor@vocaro.com wrote:
On Dec 23, 2011, at 9:11 AM, Bakki Kudva wrote:
I was wondering where the mate command went in the 8956 version. When I
install mate into ~/bin it symlinks to
mate -> /Applications/TextMate.app/Contents/Resources/mate except when I look in Resources I don't see it in there.
On my system, mate is an executable, not a symlink. Try reinstalling the command from the Preferences.
Trevor
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Dec 23, 2011, at 12:42 PM, Bakki Kudva wrote:
I did install it from Preferences and the symlink was created by Textmate. It would appear that the mate executable would be at /Applications/TextMate.app/Contents/Resources/mate. I even tried to change location to /usr/local/bin but that doesn't work either.
Odd. On my system it is definitely an executable, not a symlink. There is no TextMate.app/Contents/Resources/mate.
I wonder if this is a Lion related issue.
I'm on Lion too.
Trevor
On Dec 23, 2011, at 12:11 PM, Bakki Kudva wrote:
I was wondering where the mate command went in the 8956 version. When I install mate into ~/bin it symlinks to mate -> /Applications/TextMate.app/Contents/Resources/mate except when I look in Resources I don't see it in there.
I had a symlink (referring to mate in TextMate 1.5) and TM2 refused to overwrite it. I deleted it and tried installing from TM2’s preferences again and it showed up. (And I also see an executable instead of a symlink on my system.)
Thank you Trevor, Rob and Allan for helping me figure this out. This is a brand new Macbook Air and I assumed the symlink was created by TM2. After reading your replies I realized that the ~/bin was migrated from my iMac along with the mate symlink. I just deleted it and installed from preferences and it worked.
I was also thrown off track by James Grays blog posthttp://blog.macromates.com/2011/mate-and-rmate/#more-278 which says, "To install or upgrade mate, just select a Location and hit Install. You may be prompted to Replace an old version, if present." It obviously does not replace the old version if present.
Happy holidays and a healthy and prosperous new year to ALL.
-bakki
.--. |o_o | -Bakki Kudva | :_/ | Navaco, LLC / / \ \ (| | ) /'_ _/`\ ___)=(___/
On Sat, Dec 24, 2011 at 4:43 AM, Allan Odgaard mailinglist@textmate.orgwrote:
On 24 Dec 2011, at 04:53, Rob McBroom wrote:
I had a symlink (referring to mate in TextMate 1.5) and TM2 refused to
overwrite it […]
Do you remember if it gave an error (and if so, which)?
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Dec 24, 2011, at 4:43 AM, Allan Odgaard wrote:
On 24 Dec 2011, at 04:53, Rob McBroom wrote:
I had a symlink (referring to mate in TextMate 1.5) and TM2 refused to overwrite it […]
Do you remember if it gave an error (and if so, which)?
I’m pretty sure it was silent. I just noticed that the “light” continued to be red, so on the suspicion that it didn’t work, I checked in Terminal, saw that it was still pointing to the old location, removed it from there, and tried again.
I’m 96% sure that’s how it went. I can go through it again if you need 100%. :-)
FYI, the symlink was in `/usr/local/bin`. I own all of `/usr/local`. Now that I think about it, I didn’t happen to check ownership on the symlink, but if I own the directory, that shouldn’t matter anyway.
On 25 Dec 2011, at 06:02, Rob McBroom wrote:
On Dec 24, 2011, at 4:43 AM, Allan Odgaard wrote: On 24 Dec 2011, at 04:53, Rob McBroom wrote:
I had a symlink (referring to mate in TextMate 1.5) and TM2 refused to overwrite it […]
Do you remember if it gave an error (and if so, which)?
I’m pretty sure it was silent. I just noticed that the “light” continued to be red, so on the suspicion that it didn’t work, I checked in Terminal, saw that it was still pointing to the old location, removed it from there, and tried again.
I’m 96% sure that’s how it went. I can go through it again if you need 100%. :-)
FYI, the symlink was in `/usr/local/bin`. I own all of `/usr/local`. Now that I think about it, I didn’t happen to check ownership on the symlink, but if I own the directory, that shouldn’t matter anyway.
I would appreciate if you can try to reproduce the issue as I was unable to do so here (it warns me that a link exists in /usr/local/bin and asks for admin password if I select to replace it).
On Dec 25, 2011, at 3:08 PM, Allan Odgaard wrote:
I would appreciate if you can try to reproduce the issue as I was unable to do so here (it warns me that a link exists in /usr/local/bin and asks for admin password if I select to replace it).
It silently fails to install if the symlink at the destination is dead. Steps to reproduce:
- Deinstall shell support if it is installed - run
cd /usr/local/bin ln -s /I/Do/NO/EXIST mate
- Try and install shell support. It will silently fail.
This will probably be the scenario for most TM1 users who simply replace TM1 with TM2, as now the old mate symlink points to a non-existing file.
Gerd
I can confirm that I get this exact behavior. If the symlink exists and points to a non-existent file then it fails silently.
bakki
.--. |o_o | -Bakki Kudva | :_/ | Navaco, LLC / / \ \ (| | ) /'_ _/`\ ___)=(___/
On Mon, Dec 26, 2011 at 11:19 AM, Gerd Knops gerti-textmate@bitart.comwrote:
On Dec 25, 2011, at 3:08 PM, Allan Odgaard wrote:
I would appreciate if you can try to reproduce the issue as I was unable
to do so here (it warns me that a link exists in /usr/local/bin and asks for admin password if I select to replace it).
It silently fails to install if the symlink at the destination is dead. Steps to reproduce:
Deinstall shell support if it is installed
run
cd /usr/local/bin ln -s /I/Do/NO/EXIST mate
Try and install shell support. It will silently fail.
This will probably be the scenario for most TM1 users who simply replace TM1 with TM2, as now the old mate symlink points to a non-existing file.
Gerd
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Dec 26, 2011, at 11:19 AM, Gerd Knops wrote:
It silently fails to install if the symlink at the destination is dead.
Yes, I had renamed TM1 to “TextMate 1.5” prior to trying. I thought of that about 5 minutes after my last post, but didn’t have time to follow up until now.