[TxMt] Re: rmate not saving when the remote file does exist

Allan Odgaard mailinglist at textmate.org
Tue Sep 11 22:52:25 UTC 2012


On Sep 11, 2012, at 10:24 AM, Yvon Thoraval <yvon.thoraval at gmail.com> wrote:

> Here it is : […] Save failed! File exists - (bin/menu.zsh, bin/menu.zsh~)
> […]
> Also, i should mention i had a file "bin/menu.zsh~" BEFORE using rmate, then, removing it before a second rmate gave :
> […]
> Then, rmate is working except another file with the suffix "~" exists too.

I’m a little unclear as to whether or not you solved your problem.

It might be that File::rename does not unlink destination first. Given that you are using rvm and the script is in ruby, I would assume you can test the relevant code on your version of ruby to see why it has a problem.




More information about the textmate mailing list