[TxMt] TextMate and ruby_gems

Yvon Thoraval yvon_thoraval at mac.com
Fri Jul 14 14:12:05 UTC 2006


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...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20060714/c0e53761/attachment.html>


More information about the textmate mailing list