Le 14 juil. 06 à 13:04, Allan Odgaard a écrit :
But try put the following line before the require 'plist' in your script:
$:.reject! { |path| path =~ %r{TextMate.*/Support/lib$} }
That should solve the plist clash. It’s not ideal, but will have to do until I find a better solution.
Someone (Clayton Smith over comp.lang.ruby) gave me a more rubyish solution :
require 'rubygems' require_gem 'plist'
and it works fine even within TextMate...