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