When I use the command *Comment Line* then comes no text but only: /tmp/temp_textmate.fQZTsU:119: warning:
Can anyone Help? Sorry for my little english. Udo Wendler
My Versions: Mac mini Intel Mac OS X Version 10.4.8 (8L2127) TextMate Version 1.5.5 (1368)
cat '/Library/Application Support/TextMate/Support/version' 6716
/usr/bin/ruby --version ruby 1.8.2 (2004-12-25) [universal-darwin8.0]
On Mar 12, 2007, at 6:18 AM, Udo Wendler wrote:
When I use the command *Comment Line* then comes no text but only: /tmp/temp_textmate.fQZTsU:119: warning:
Can anyone Help? Sorry for my little english. Udo Wendler
My Versions: Mac mini Intel Mac OS X Version 10.4.8 (8L2127) TextMate Version 1.5.5 (1368)
cat '/Library/Application Support/TextMate/Support/version' 6716
/usr/bin/ruby --version ruby 1.8.2 (2004-12-25) [universal-darwin8.0]
I just tried the command with the built-in Ruby and it seemed to work OK. That script only requires one file and it's a simple file that ships with TM, so it's hard to imagine what the problem would be.
You don't have an old bundle checkout somewhere, right? If so, you really should look into reverting:
http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles
James Edward Gray II
James Edward Gray II james@grayproductions.net wrote:
On Mar 12, 2007, at 6:18 AM, Udo Wendler wrote:
When I use the command *Comment Line* then comes no text but only: /tmp/temp_textmate.fQZTsU:119: warning:
Can anyone Help? Sorry for my little english. Udo Wendler
My Versions: Mac mini Intel Mac OS X Version 10.4.8 (8L2127) TextMate Version 1.5.5 (1368)
cat '/Library/Application Support/TextMate/Support/version' 6716
/usr/bin/ruby --version ruby 1.8.2 (2004-12-25) [universal-darwin8.0]
I just tried the command with the built-in Ruby and it seemed to work OK. That script only requires one file and it's a simple file that ships with TM, so it's hard to imagine what the problem would be.
You don't have an old bundle checkout somewhere, right? If so, you really should look into reverting:
http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles
I tested it. The original from TM is identical. The error is in the Line 119 the asterisk:
| out *lines unless lines.empty? ^
For what is the asterisk good?
Udo Wendler
On Mar 14, 2007, at 4:23 AM, Udo Wendler wrote:
James Edward Gray II james@grayproductions.net wrote:
On Mar 12, 2007, at 6:18 AM, Udo Wendler wrote:
When I use the command *Comment Line* then comes no text but only: /tmp/temp_textmate.fQZTsU:119: warning:
Can anyone Help? Sorry for my little english. Udo Wendler
My Versions: Mac mini Intel Mac OS X Version 10.4.8 (8L2127) TextMate Version 1.5.5 (1368)
cat '/Library/Application Support/TextMate/Support/version' 6716
/usr/bin/ruby --version ruby 1.8.2 (2004-12-25) [universal-darwin8.0]
I just tried the command with the built-in Ruby and it seemed to work OK. That script only requires one file and it's a simple file that ships with TM, so it's hard to imagine what the problem would be.
You don't have an old bundle checkout somewhere, right? If so, you really should look into reverting:
http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles
I tested it. The original from TM is identical. The error is in the Line 119 the asterisk:
| out *lines unless lines.empty? ^
For what is the asterisk good?
That turns a Ruby like:
some_meth(*[1, 2, 3])
into:
some_meth(1, 2, 3)
In other words, it unwraps an Array of arguments into the arguments themselves.
You would also have to have a pretty old Ruby for that to be a problem. Are you still on Panther by chance?
James Edward Gray II
James Edward Gray II james@grayproductions.net wrote:
On Mar 14, 2007, at 4:23 AM, Udo Wendler wrote:
James Edward Gray II james@grayproductions.net wrote:
On Mar 12, 2007, at 6:18 AM, Udo Wendler wrote:
When I use the command *Comment Line* then comes no text but only: /tmp/temp_textmate.fQZTsU:119: warning:
Can anyone Help? Sorry for my little english. Udo Wendler
My Versions: Mac mini Intel Mac OS X Version 10.4.8 (8L2127) TextMate Version 1.5.5 (1368)
cat '/Library/Application Support/TextMate/Support/version' 6716
/usr/bin/ruby --version ruby 1.8.2 (2004-12-25) [universal-darwin8.0]
<snip/>
The error is in the Line 119 the asterisk:
| out *lines unless lines.empty? ^
For what is the asterisk good?
<snip/>
Thank you. Now I understand the *.
You would also have to have a pretty old Ruby for that to be a problem. Are you still on Panther by chance?
No, its original Tiger Mac OS 10.4. I have the solution:
| out(*lines) unless lines.empty?
That go :-) Udo Wendler