On 12/6/2006, at 2:28, Ryan King wrote:
Any clue on the cause?
It would help if you tell us what script this is, what version of Ruby you have, and whether erb is located in your computer somewhere.
It's the TODO package. [...] I get /usr/local/lib/ruby/1.8/erb.rb.
My ruby is in /usr/local, not /usr, but that shouldn't cause any problems.
That probably is the problem, as the TODO will find your Ruby 1.6 which lacks ERb.
See the paragraph starting with ‘Important’ here [1] and follow instructions, or alternatively create a symlink or similar from /usr/ bin/ruby to Ruby 1.8 (and remove 1.6.)
[1] http://macromates.com/textmate/manual/shell_commands#search_path