Probably not a surprise.<div><br></div><div>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:</div>

<div><br></div><div><a href="http://beginrescueend.com/integration/textmate/">http://beginrescueend.com/integration/textmate/</a></div><div><br></div><div><div>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</div>

<div><br></div><div>TM_RUBY = "/Users/rick/.rvm/bin/rvm-auto-ruby"</div><div><br></div><div>However, TM isn't using the .rvmrc file in the 'project' directory so it's always using the default ruby 1.8.7.</div>

<div><br></div><div>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.</div>

<div><br></div>-- <br>Rick DeNatale<br><br>Google+: <a href="https://plus.google.com/102541178931067955550" target="_blank">+Rick DeNatale</a><br>Blog: <a href="http://talklikeaduck.denhaven2.com/" target="_blank">http://talklikeaduck.denhaven2.com/</a><br>

Github: <a href="http://github.com/rubyredrick" target="_blank">http://github.com/rubyredrick</a><br>Twitter: @RickDeNatale<br>WWR: <a href="http://www.workingwithrails.com/person/9021-rick-denatale" target="_blank">http://www.workingwithrails.com/person/9021-rick-denatale</a><br>

LinkedIn: <a href="http://www.linkedin.com/in/rickdenatale" target="_blank">http://www.linkedin.com/in/rickdenatale</a><br>
</div>