setting the textmate-variable does not fix the issue for me! i also tried to set the variable to /opt/local/bin/ruby which is what i get from $ which ruby i installed ruby using macports removing all preinstalled (buggy) apple ruby stuff.