<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div><br></div><div>A quick search of both Google and this lists' archive didn't solve this for me so I am wondering if anyone here has an idea.</div><div><br></div><div>I use RVM and Textmate. I followed the instructions at:</div><div><br></div><div><a href="http://rvm.beginrescueend.com/integration/textmate/">http://rvm.beginrescueend.com/integration/textmate/</a> </div><div><br></div><div>(including moving the builder.rb in <span class="Apple-style-span" style="white-space: pre; "><font class="Apple-style-span" face="Arial">/Applications/TextMate.app/Contents/SharedSupport/Support/lib/</font></span>)</div><div><br></div><div>However, I still get "<font class="Apple-style-span" face="'Courier New'">env: ruby: No such file or directory</font><span class="Apple-style-span" style="font-family: 'Lucida Grande'; ">" from Textmate. Using env from the command line works fine:</span></div><div><font class="Apple-style-span" face="'Courier New'"><br></font></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; "><div><font class="Apple-style-span" face="'Courier New'">mbpatrick:~ patrick$ /usr/bin/env ruby -v</font></div><div><font class="Apple-style-span" face="'Courier New'">ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin10.4.0]</font></div><div><font class="Apple-style-span" face="'Courier New'">mbpatrick:~ patrick$ sudo ln -s /usr/bin/env /usr/local/bin/env </font></div><div><font class="Apple-style-span" face="'Courier New'">Password:</font></div><div><font class="Apple-style-span" face="'Courier New'">mbpatrick:~ patrick$ /usr/local/bin/env ruby -v</font></div><div><font class="Apple-style-span" face="'Courier New'">ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin10.4.0]</font></div><div><br></div><div>And my textmate_ruby script works fine:</div><div><br></div><div><div><font class="Apple-style-span" face="'Courier New'">mbpatrick:~ patrick$ /Users/patrick/.rvm/bin/textmate_ruby -v</font></div><div><font class="Apple-style-span" face="'Courier New'">ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin10.4.0]</font></div><div><font class="Apple-style-span" face="'Courier New'">mbpatrick:~ patrick$ </font></div></div><div><br></div><div>My shell variables in Textmate:</div><div><br></div><div><font class="Apple-style-span" face="'Courier New'">TM_RUBY /Users/patrick/.rvm/bin/textmate_ruby</font></div><div><font class="Apple-style-span" face="'Courier New'">PATH /usr/bin:/bin:/usr/sbin:/sbin</font></div><div><br></div><div>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.</div><div><br></div><div>I am curious why TextMate is using env at all given that TM_RUBY is set...</div><div><br></div><div>Anyone have any ideas? Would appreciate any help.</div><div><br></div><div>Patrick</div><div><br></div><div><br></div></span></div></body></html>