I have the same problems as detailed in this thread - http://comox.textdrive.com/pipermail/textmate-dev/2005-June/001827.html
At work I'm running osX 10.3.9. None of the diff commands work. When I try to diff I get the spinning beach ball and then nothing. At home, runing 10.4.1, everything works fine.
I'm running textmate 1.1b13 with a svn update of the entire bundles repository (I'm at rev 1226).
There didn't seem to be a resolution to the problem in the thread, other than Charilaos Skiadas problems seemed to go away for 'Diff revisions' and 'Diff with revision.' Following the suggestions in the thread I have different results. My error text when outputing Diff Revisions into a new window is
/bin/bash: line 20: [: too many arguments
I don't get the
-:1:in `require': No such file to load -- svn_diff (LoadError) from -:1
Also, CocoaDialog --help and ctrl-R to run the line as a command produces:
CocoaDialog --help/bin/bash: line 1: CocoaDialog: command not found
Any more thoughts - do I need to update ruby maybe? Start from scratch maybe? Persuade the FO to upgrade my system to Tiger?
On 23/06/2005, at 18.46, .Mac wrote:
Also, CocoaDialog --help and ctrl-R to run the line as a command produces:
CocoaDialog --help/bin/bash: line 1: CocoaDialog: command not found
This would indicate that stuff is missing from the support directory.
Did you svn update only the Bundles directory or the entire TextMate dir (in Application Support)? It should be the latter, though you may also remove your entire checkout, since latest svn bundle is included with 1.1b13.
As for checking the presence of CocoaDialog, try: echo $TM_SUPPORT_PATH and ls "$TM_SUPPORT_PATH/bin"
That said, I won't rule out that the diff stuff doesn't work for Ruby 1.6 (which is what Panther has). Chris should be able to give a better answer to that :)
OK
I've removed both TextMate folders
in /Library/Application Support/
and ~/Library/Application Support/
and tried your suggestions. Here are the results:
echo $TM_SUPPORT_PATH/Applications/02.webdev/TextMate.app/Contents /SharedSupport/Support
ls "$TM_SUPPORT_PATH/bin"Builder.rb CocoaDialog-license.txt CocoaDialog.app CommitWindow.app Markdown-license.txt Markdown.pl play pythonCompletion.py pythonCompletionTest.py shelltokenize.rb source-highlight source-highlight-license.txt tidy tidy-license.txt
CocoaDialog --help/bin/bash: line 1: CocoaDialog: command not found
Very strange.
On 23/06/2005, at 19.19, Stephen Hamilton wrote:
CocoaDialog --help/bin/bash: line 1: CocoaDialog: command not found
hmm... then it must be a PATH problem. Try:
echo $BASH_ENV and echo $PATH
I'm checking out for today, but maybe you could join #textmate on Freenode tomorrow, might be easier! :)
On 6/23/05, Allan Odgaard allan@macromates.com wrote:
echo $BASH_ENV and echo $PATH
Alan, thanks for the quick responses. I'll be on #textmate tomorrow night if I can't fix this.
The 2 other variables give:
echo $BASH_ENV/etc/profile echo $PATH/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/bin
I have subversion in /opt/local/bin. $TM_SVN is set to /opt/local/bin/svn
My .bash_profile has
export PATH=$PATH:/opt/local/bin export LC_CTYPE=en_US.UTF-8 export EDITOR="tm_wait"
It's all very strange, as it has all been working fine up untill recently.
On 6/24/05, Allan Odgaard allan@macromates.com wrote:
Go to Preferences / Advanced / Shell Variables.
Then delete the BASH_ENV variable.
Ok, it was ruby. Upgraded to ruby 1.8.2_2 via darwinports, and all diff commands now work.
Looks like one for Chris :-)
Anyways, thanks for all the help.
Stephen
On Jun 23, 2005, at 10:09 AM, Allan Odgaard wrote:
That said, I won't rule out that the diff stuff doesn't work for Ruby 1.6 (which is what Panther has). Chris should be able to give a better answer to that :)
Worked the last time I checked. I'll check again shortly, although Stephen's later message seems to confirm that it's not Ruby at fault here.
That said, error detection and recovery in the svn diff commands could obviously use some work. :) Torsten's info and blame commands are better about error recovery—they actually catch exceptions and report them meaningfully.
Chris
I used svn diff today with rev 1218, though svn blame is erring on everything I try.
NoMatch
mhh, something with with the regex or svn must be wrong. this should never happen. last line: <line>
On Jun 23, 2005, at 2:17 PM, Chris Thomas wrote:
On Jun 23, 2005, at 10:09 AM, Allan Odgaard wrote:
That said, I won't rule out that the diff stuff doesn't work for Ruby 1.6 (which is what Panther has). Chris should be able to give a better answer to that :)
Worked the last time I checked. I'll check again shortly, although Stephen's later message seems to confirm that it's not Ruby at fault here.
That said, error detection and recovery in the svn diff commands could obviously use some work. :) Torsten's info and blame commands are better about error recovery—they actually catch exceptions and report them meaningfully.
Chris_________________________________________________________________ _____ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Robert M. Zigweid http://robert.zigweid.net rzigweid@zigweid.net