I'm new to TextMate and Ruby so please bear with me. I'm trying to run my ruby code in 1.9.3. When I run things now, it's running them in 1.8.7 for some reason. I don't know exactly what path should go in the Path but I want it to run 1.9.3. Please help. I don't even know where 1.8.7 is coming from
On 19/04/2012, at 08.09, dadixon wrote:
I'm new to TextMate and Ruby so please bear with me. I'm trying to run my ruby code in 1.9.3.
You need to set TM_RUBY to the path of your installed ruby 1.9.3 binary.
You can set TM_RUBY in Preferences → Advanced → Shell Variables (TextMate 1.x).
If your shell is using ruby 1.9.3 you can obtain the full path to this binary by executing “which ruby” in a shell session (via Terminal).