[TxMt] [TM2] Can't seem to get rvm integration working

Rick DeNatale rick.denatale at gmail.com
Sun Dec 18 21:47:22 UTC 2011


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 <https://plus.google.com/102541178931067955550>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20111218/797ae287/attachment.html>


More information about the textmate mailing list