mbpatrick:~ patrick$ /usr/bin/env ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin10.4.0]
mbpatrick:~ patrick$ sudo ln -s /usr/bin/env /usr/local/bin/env
Password:
mbpatrick:~ patrick$ /usr/local/bin/env ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin10.4.0]
And my textmate_ruby script works fine:
mbpatrick:~ patrick$ /Users/patrick/.rvm/bin/textmate_ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin10.4.0]
mbpatrick:~ patrick$
My shell variables in Textmate:
TM_RUBY /Users/patrick/.rvm/bin/textmate_ruby
PATH /usr/bin:/bin:/usr/sbin:/sbin
I've quit Textmate and restarted, quit shells and restarted, I've tried putting /Users/patrick/.rvm/bin in my PATH (in TextMate), I've tried putting /Users/patrick/.rvm/rubies/ruby-1.8.6-p399/bin/ in my PATH (in Textmate), I updated Textmate and all it's bundles to the newest versions, nothing seems to work.
I am curious why TextMate is using env at all given that TM_RUBY is set...
Anyone have any ideas? Would appreciate any help.
Patrick