I was wondering if anyone could guide me on how to configure Command Line Tools to use a specific version of Ruby (via RVM). So for example, in Terminal on my Mac I have installed and configured RVM to use a specific version of Ruby by: rvm use 1.9.2, so now when I open a terminal window my system is configured to use this version which I can check via: ruby -v which displays 1.9.2. This is achived by the following script https://github.com/wayneeseguin/rvm/blob/master/scripts/rvm
In IDEA if I fire up command line tools and type ruby -v it displays the old original system default ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
How do I configure IDEA in the same manner?