Textmate OSX Yosemite ruby 1.8
You can install Ruby 1.8.7 via rbenv and add it to Textmate paths:


  PATH:
  /Users/YOUR_NAME/.rbenv/versions/1.8.7-p249/bin:/usr/bin:/bin:/usr/sbin:/sbin
  
  TM_RUBY: /Users/YOUR_NAME/.rbenv/versions/1.8.7-p249/bin/ruby


If you have problems with installing ruby 1.8.7 with errors such as:


  openssl_missing.h:68: error: conflicting types for 'HMAC_CTX_copy'


you can try to do brew unlink openssl. After successfully installing ruby you can link it back with brew link openssl --force

Good Luck!