I'm testing out ruby using TextMate and seems like it's not picking up my RVM environment SO, here's what i found out.
After you have a functioning rvm setup, all you need to do is as follows:
- Open your terminal (I use iTerm2) and run
which rvm-auto-rubywhich currently gives me
- Go to
TextMate > Preferences > Variablesand add a variable called
TM_RUBYand assign the path given in the previous step (Mine was
Profit!, now if you create a file with
puts RUBY_VERSION as the content, you'll see your RVM's ruby version.