Sunday, April 29, 2012

Sync RVM with TextMate

I've been trying to sync TextMate with RVM found this tutorial extremely helpful.

Basic Process:
  1. Print path to RVM-AUTO-RUBY ( the exec file that runs the default interpreter set by rvm )
    • Unix command: $ which rvm-auto-ruby
  2. Copy path to TextMate's preferences
    • Under TextMate > Preferences > Advanced > Shell Variables create a new shell variable 
    • Variable: TM_RUBY
    • Value: ( path returned by which rvm-auto-ruby cmd )
Debugging Tips:
  • Print out path to current ruby interpreter 

1 comment:

  1. This will sync TextMate with the version of Ruby you are using. But I doesn't automatically update the gemset that RVM is using. If anyone has any good info on that, please post a link

    ReplyDelete