I've been trying to sync TextMate with RVM found this
tutorial extremely helpful.
Basic Process:
- Print path to RVM-AUTO-RUBY ( the exec file that runs the default interpreter set by rvm )
- Unix command: $ which rvm-auto-ruby
- 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
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