On 14/11/11 21:04, "Tim Rand" timrandg@gmail.com wrote:
Preferences>Advanced>Shell Variables
add the following variable/value pair:
TM_RUBY /Path/to/ruby
if you use ruby version manager you can add:
TM_RUBY /Users/username/.rvm/bin/rvm-auto-ruby
which will automatically detect which version RVM is set to use and use that one in textmate.
Hi, Tim.
It still doesn't see the rvm version & returns the System version.
I'm getting:
`/usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/open3.rb:202: warning: Insecure world writable dir /usr/local in PATH, mode 04077`
But that's because I chmod'd a couple of Cache directories in /usr/local/ to 777 so they could be writable to by apapche 2.2. I don't think that can be the cause because I did the same in /opt/local/ where my working copy of perl is & TM returns any output from any script fine if I supply the correct shebang line `/opt/local/bin/perl`
Puzzled...
Cheers,
Phil.