Getting RVM + Ruby 1.9.2 + Textmate to Play Nice
As I am getting a new dev environment setup this is something thats been bothering me on my old setup… below is the fix!
You’re going to want to replace: ~/.rvm/bin/textmate_ruby
Here are the steps to do so:
cd ~/.rvm/binmv textmate_ruby old.textmate_ruby- Create a shell script called
textmate_rubyin the same directory to replace the soft-link, using the following contents:#!/usr/bin/env sh source ~/.rvm/scripts/rvm cd . exec ruby "$@"
chmod +x textmate_ruby
That should do it!
(Source: stackoverflow.com)