On 1/14/07, <b class="gmail_sendername">Jean Michel Esnault</b> <<a href="mailto:jesnault@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jesnault@gmail.com</a>> wrote:<div><span class="gmail_quote">
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br><br>Just installed textmate and was trying to use svn bundle.<br>I got following error:<br><br>Couldn't find svn<br><br>If you have installed svn, then you need to either update your PATH<br>or set the TM_SVN shell variable (
e.g. in Preferences / Advanced)<br><br>Locations searched:<br><br>/Applications/TextMate.app/Contents/SharedSupport/Support/bin/<br>CocoaDialog.app/Contents/MacOS<br>/bin<br>/sbin<br>/usr/bin<br>/usr/sbin<br>/Applications/TextMate.app/Contents/SharedSupport/Support/bin
<br>======================================================<br><br>I have checked I have /usr/local/bin in my PATH<br>and I have also set TM_SVN (just in case) as followed:<br><br>$ set | grep PATH<br>PATH=/usr/local/bin:/usr/local/sbin:/sw/bin:/sw/sbin:/usr/local/bin:/
<br>usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/<br>local/pgsql/bin:/usr/local/pgsql/bin<br><br>$ set | grep TM_SVN<br>TM_SVN=/usr/local/bin<br>$<br><br>$ which svn<br>/usr/local/bin/svn<br><br><br>What am I missing ?
</blockquote><div><br>unfortunately textmate does not absorb the user's shell environment (at least for non-bash users no?), so while you can access the subversion binary in the terminal and it can easily be found in your PATH, textmate doesn't know anything about it. instead textmates (as all mac os x applications do) takes the settings defined in ~/.MacOSX/environment.plist 
<br>  <a href="http://macromates.com/textmate/manual/shell_commands" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://macromates.com/textmate/manual/shell_commands</a><br><br>also worth noting, i think a restart (logout?) is necessary before those values spring into action.
<br><br>alternatively, you could set the textmate specific environment variable TM_SVN to point to your subversion. since textmate doesn't read your shell you will need to define it in 
environment.plist or you can set this directly in textmate: Preferences > Advanced > Shell Variables.<br><br>i still wonder why textmate doesn't get adventurous and init its environment based on the user's shell preference - but as i have said before i don't understand the hurdles involved so it is easy for me to suggest.
<br><br>cheers,<br>jean-pierre<br></div></div>