Forgive this question as I am both a newbie and NOT a computer programmer, yet love Textmate.
When I try to generate a TODO list, I get this error: /tmp/temp_textmate.oZHMUi:11:in `require': No such file to load -- erb (LoadError) from /tmp/temp_textmate.oZHMUi:11
Anyone know what is going on?
Thanks.
On 14/6/2006, at 22:24, Lawrence Goodman wrote:
When I try to generate a TODO list, I get this error: /tmp/temp_textmate.oZHMUi:11:in `require': No such file to load -- erb (LoadError) from /tmp/temp_textmate.oZHMUi:11
Anyone know what is going on?
Yes, unfortunately the TODO command requires Ruby 1.8, but Panther ships only with version 1.6.
I have now changed the error message to be more informative.
As for getting it working, it would require installing Ruby 1.8. I don’t know how scary that sounds to someone who is not a computer programmer.
Am 14. Jun 2006 um 23:32 schrieb Allan Odgaard:
As for getting it working, it would require installing Ruby 1.8. I don’t know how scary that sounds to someone who is not a computer programmer.
it is "kind of" easy with fink (http://fink.sf.net)
Dan
Thanks for the advice and help. I came across this website: http://homepage.mac.com/discord/Ruby/.
Will this do it or will I still need fink?
Thanks again.
On 15/6/2006, at 1:48, Lawrence Goodman wrote:
Thanks for the advice and help. I came across this website: http://homepage.mac.com/discord/Ruby/.
Will this do it or will I still need fink?
That should do it -- and after installing it, you’ll need to make the change to the path, which is explained here [1], it’s the ‘important’ paragraph, talking about shebang.
[1] http://macromates.com/textmate/manual/shell_commands#search_path
On Jun 14, 2006, at 4:38 PM, Daniel Käsmayr wrote:
Am 14. Jun 2006 um 23:32 schrieb Allan Odgaard:
As for getting it working, it would require installing Ruby 1.8. I don’t know how scary that sounds to someone who is not a computer programmer.
it is "kind of" easy with fink (http://fink.sf.net)
or darwinports (http://darwinports.opendarwin.org) ;-)
-Ron
Hmmm, the only BIG problem with the TODO tag is that it is a very common word in Spanish (meaning "all"). So I suppose I'll have to do some kind of disambiguation there.
K.
On 15/06/2006, at 5:13, Ron Rosson wrote:
On Jun 14, 2006, at 4:38 PM, Daniel Käsmayr wrote:
Am 14. Jun 2006 um 23:32 schrieb Allan Odgaard:
As for getting it working, it would require installing Ruby 1.8. I don’t know how scary that sounds to someone who is not a computer programmer.
it is "kind of" easy with fink (http://fink.sf.net)
or darwinports (http://darwinports.opendarwin.org) ;-)
-Ron
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
On 15/6/2006, at 9:50, Kamen Nedev wrote:
Hmmm, the only BIG problem with the TODO tag is that it is a very common word in Spanish (meaning "all"). So I suppose I'll have to do some kind of disambiguation there.
One heuristic could be to not expect a word character in-front of TODO, as it would normally be the first non-whitespace thing on the line, or follow a comment character.
Unfortunately the Ruby version we rely on does not do look-behind assertions, making this more complex than necessary.
On Jun 15, 2006, at 10:58 AM, Allan Odgaard wrote:
Unfortunately the Ruby version we rely on does not do look-behind assertions, making this more complex than necessary.
You can usually fake look-behind with a reverse() and a look-ahead:
line.reverse =~ /ODOT(?=\s*#\s*^)/
James Edward Gray II