Probably not a surprise.

I was playing with TM2 to see if the integration with RVM for switching ruby versions for different 'projects/directories' would work with TM2 using the rvm-auto-ruby approach documented here:

http://beginrescueend.com/integration/textmate/

It took me a while to get around TM not finding rvm-auto-ruby until I finally figured out that the spaces around the = are crucial in this line I added to .tm_properties

TM_RUBY = "/Users/rick/.rvm/bin/rvm-auto-ruby"

However, TM isn't using the .rvmrc file in the 'project' directory so it's always using the default ruby 1.8.7.

It looks like a partial workaround would be to have a local .tm_properties file which sets TM_RUBY for each 'project' directory, but I don't think that this will handle other rvm aspects such as gemsets.

--
Rick DeNatale

Google+: +Rick DeNatale
Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale