Hey all,
if i do, in a ruby file :
#!/usr/bin/env ruby
require 'plist'
plist=Plist.parse_xml(my_info_plist)
within TextMate i get :
NameError: uninitialized constant Plist
altought this script is running well from terminal doing a :
ruby essai.rb
the ruby used is the same (/opt/local/bin/ruby)
i did setup within textmate some enverironnement variables :
TM_RUBY => /opt/local/bin/ruby RUBYOPT => -rrubygems GEM_HOME => /opt/local/lib/ruby/gems/1.8
they all correspond to what i get in the Terminal ie :
which ruby
/opt/local/bin/ruby
echo $RUBYOPT
-rrubygems
echo $GEM_HOME
/opt/local/lib/ruby/gems/1.8
the, i don't understand where the prob comes from...