On 26 Oct 2007, at 08:57, Chris Yates wrote:

Also try putting


which ruby


And 


echo $TM_RUBY


on a line in a TM document and pressing ⌃R to see the result.


I get


/usr/bin/ruby


And no result from echo $TM_RUBY


Can you also try checking env in the same way, e.g. with

#!/usr/bin/env sh
echo foo

Select both lines and do ⌃R from TM