Greetings,
I use the GTDAlt bundle with TextMate to "get things done". Recently I upgraded to Leopard and some of the functionality of the bundle broke and it seems to be linked to an issue with Ruby. I'm not a Ruby programmer (I'm barely an HTML guy) so I cannot really diagnose what's going on with the bundle.
For example, I attempt to type the due date of a project by typing '#' (shift + 4 on US keyboards) which brings up a date selection window. Entering a date, or number of days from the current date does not yield the desired output but instead prints the following to the active file:
--code--
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/date/format.rb:230:in /bin/bash: -c: line 0: unexpected EOF while looking for matching `'' /bin/bash: -c: line 2: syntax error: unexpected end of filestrftime' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/date/format.rb:201:in /bin/bash: -c: line 0: unexpected EOF while looking for matching `'' /bin/bash: -c: line 2: syntax error: unexpected end of filestrftime' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/date.rb:1343:in
--code--
This bundle worked wonderfully prior to installing OS X 10.5. Any ideas what's going on here?
Thanks, Mark
Hi all,
From a previous e-mail, I wrote about my problems with the GTDAlt bundle. Specifically, I had an issue with dates being created properly since upgrading to OS X 10.5. It seems as though Ruby 1.8 (included with 10.5) included a slightly modified version of format.rb, resulting in the following error:
--code--
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/date/format.rb:230:in /bin/bash: -c: line 0: unexpected EOF while looking for matching `'' /bin/bash: -c: line 2: syntax error: unexpected end of filestrftime' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/date/format.rb:201:in /bin/bash: -c: line 0: unexpected EOF while looking for matching `'' /bin/bash: -c: line 2: syntax error: unexpected end of filestrftime' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/date.rb:1343:in
--code--
The header of the Leopard version of format.rb reads as follows:
# format.rb: Written by Tadayoshi Funaba 1999-2007 # $Id: format.rb,v 2.30 2007-01-07 09:16:24+09 tadf Exp $
Whereas the version included with Tiger (10.4.10) reads:
# format.rb: Written by Tadayoshi Funaba 1999-2004 # $Id: format.rb,v 2.14 2004-11-06 10:58:40+09 tadf Exp $
I ended up replacing the newer format.rb with the older copy as I don't really do anything that requires the newest ruby. I thought this might be of interest to those using Leopard and the GTDAlt bundle. While this is certainly not a long-term fix, it may work for those who don't need the latest version of format.rb for their other projects.
Regards, Mark
Me too - I'd actually posted a couple of threads here on this to no avail.
I'll keep my eyes open for a fix.
When I manually add dates in (rather than rely on the '#' shortcut), I then hit snags syncing to iCal. It seems Leopard has changed something fundamental with dates.
I missed your second post there.
How does iCal syncing go after reverting to the older version of format.rb?