[TxMt] TextMate Ruby and dependancies

Yvon Thoraval yvon_thoraval at mac.com
Thu Mar 9 07:51:21 UTC 2006


Hey all,

i'd like using, from TextMate, ruby scripts making use of :

require 'xml/libxml'


for the time being i get an error :

LoadError: no such file to load -- xml/libxml

i think i could be coming from $LOAD_PATH (for ruby) not set-up  
correctly.

i did a ~/.MacOSX/environment.plist

with only the PATH assigned.

does i need to add something equivalent to :


export RUBYOPT=-rrubygems
export GEM_HOME=/opt/local/lib/ruby/gems/1.8

being in my zsh init.


or all of those kind of setup could be done thru TextMate setup, but  
how ?

obviously my script making use of libxml binder is working from  
terminal.

best,

Yvon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20060309/520de4b9/attachment.html>


More information about the textmate mailing list