Hi,
I've just migrated to Leopard, and I have the following problem. If I drag'n'drop a pdf file from the Finder to a LaTex doc I get the following error:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/pathname.rb:205:in /bin/bash: -c: line 0: syntax error near unexpected token `(' /bin/bash: -c: line 0: `dup': can't dup NilClass (TypeError)'initialize' from /tmp/temp_textmate.gqGtWt:7:in
OK. I went through previous mails regarding that issue, and I found "update it". But what?
I'm using Textmate 1.5.7 (1455) on 10.5.2 (G5 ppc)
and
/usr/bin/ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]
Thanks for any hint in advance,
--Hans
Hi Hans-Joerg,
I've just migrated to Leopard, and I have the following problem. If I drag'n'drop a pdf file from the Finder to a LaTex doc I get the following error:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/pathname.rb:205:in /bin/bash: -c: line 0: syntax error near unexpected token `(' /bin/bash: -c: line 0: `dup': can't dup NilClass (TypeError)'initialize' from /tmp/temp_textmate.gqGtWt:7:in
I imagine that this message is a result of you trying to drag and drop the pdf into an unsaved TextMate file: the command looks to insert a relative path into your latex file but there's nothing kicking around when it asks for the current location (ie of the latex file you're editing). Hence the rather rude message. I guess this should probably be changed to present a friendlier face in such a situation, but my ruby's (still) weaker than it should be...
Cheers, Paul
On 25 Mar 2008, at 12:41, Paul McCann wrote:
Hi Hans-Joerg,
I've just migrated to Leopard, and I have the following problem. If I drag'n'drop a pdf file from the Finder to a LaTex doc I get the following error:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/pathname.rb:205:in /bin/bash: -c: line 0: syntax error near unexpected token `(' /bin/bash: -c: line 0: `dup': can't dup NilClass (TypeError)'initialize' from /tmp/temp_textmate.gqGtWt:7:in
I imagine that this message is a result of you trying to drag and drop the pdf into an unsaved TextMate file:
Oh my goodness, you're right ;) Thanks a lot Paul!
--Hans