<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hey all,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>i'd like using, from TextMate, ruby scripts making use of :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>require 'xml/libxml'</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>for the time being i get an error :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" color="#ED5100" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"><B>LoadError</B></SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;">: no such file to load -- xml/libxml</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;">i think i could be coming from $LOAD_PATH (for ruby) not set-up correctly.</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;">i did a ~/.MacOSX/<FONT class="Apple-style-span" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;">environment.plist</SPAN></FONT></SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>with only the PATH assigned.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>does i need to add something equivalent to :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>export RUBYOPT=-rrubygems</DIV><DIV>export GEM_HOME=/opt/local/lib/ruby/gems/1.8</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>being in my zsh init.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>or all of those kind of setup could be done thru TextMate setup, but how ?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>obviously my script making use of libxml binder is working from terminal.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>best,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Yvon</DIV></BODY></HTML>