<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>Le 14 juil. 06 à 12:22, Allan Odgaard a écrit :</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Could you try require another ruby gem and use that instead to see if that works?</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> </BLOCKQUOTE></DIV><BR><DIV>if tried require 'iphoto2' which depends on the same plist, no more success.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>however doing a test with htmltools gives about the same reult from Terminal than TextMate :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>the script :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>#!/usr/bin/env ruby</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>require 'htmltools' # <== Line 3</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>result from TextMate :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(210, 222, 255); "><FONT class="Apple-style-span" color="#ED5100" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"><B>LoadError</B></SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;">: no such file to load -- htmltools</SPAN></FONT></DIV><TABLE cellspacing="0" cellpadding="0" style="padding: 2.0px 0.0px 2.0px 0.0px"><TBODY><TR><TD valign="middle" style="width: 187.0px; padding: 0.0px 2.0px 0.0px 5.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="txmt://open?url=file:///opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb&line=27"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;">method gem_original_require</SPAN></FONT></A></DIV></TD><TD valign="middle" style="width: 203.0px; padding: 0.0px 2.0px 0.0px 5.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;">in </SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"><B>custom_require.rb</B></SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"> at line 27</SPAN></FONT></DIV></TD></TR><TR><TD valign="middle" style="width: 187.0px; padding: 0.0px 2.0px 0.0px 5.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="txmt://open?url=file:///opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb&line=27"><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;">method require</SPAN></FONT></A></DIV></TD><TD valign="middle" style="width: 203.0px; padding: 0.0px 2.0px 0.0px 5.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;">in </SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"><B>custom_require.rb</B></SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"> at line 27</SPAN></FONT></DIV></TD></TR><TR><TD valign="middle" style="width: 187.0px; padding: 0.0px 2.0px 0.0px 5.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="txmt://open?url=file:///Users/yvon/work/Ruby/Plist/essai_htmltools.rb&line=3"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"><I>at top level</I></SPAN></FONT></A></DIV></TD><TD valign="middle" style="width: 203.0px; padding: 0.0px 2.0px 0.0px 5.0px"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;">in </SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"><B>essai_htmltools.rb</B></SPAN></FONT><FONT class="Apple-style-span" face="Lucida Grande" size="4"><SPAN class="Apple-style-span" style="font-size: 13.3px;"> at line 3</SPAN></FONT></DIV></TD></TR></TBODY></TABLE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>result from Terminal :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>> ruby essai_htmltools.rb</DIV><DIV>/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- htmltools (LoadError)</DIV><DIV> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'</DIV><DIV> from essai_htmltools.rb:3</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>my gems rep :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>> ls -al $GEM_HOME/gems/ </DIV><DIV>total 0</DIV><DIV>drwxr-xr-x 15 root admin 510 Jul 14 11:05 .</DIV><DIV>drwxr-xr-x 7 root admin 238 Mar 8 08:48 ..</DIV><DIV>drwxr-xr-x 9 root admin 306 Mar 23 06:46 builder-2.0.0</DIV><DIV>drwxr-xr-x 6 root admin 204 Mar 17 08:41 coderay-0.5.0.121</DIV><DIV>drwxr-xr-x 7 root admin 238 Mar 23 20:47 htmltools-1.09</DIV><DIV>drwxr-xr-x 4 root admin 136 Jul 14 11:05 iphoto2-1.0.1</DIV><DIV>drwxr-xr-x 9 root admin 306 Mar 8 08:51 libxml-ruby-0.3.6</DIV><DIV>drwxr-xr-x 4 root admin 136 Mar 9 13:24 plist-1.0.0</DIV><DIV>drwxr-xr-x 4 root admin 136 Jul 14 11:04 plist-2.0.0</DIV><DIV>drwxr-xr-x 12 root admin 408 Mar 8 16:03 rake-0.7.0</DIV><DIV>drwxr-xr-x 5 root admin 170 Mar 23 20:51 rubyful_soup-1.0.4</DIV><DIV>drwxr-xr-x 20 root admin 680 Mar 8 09:08 rubygems-update-0.8.11</DIV><DIV>drwxr-xr-x 20 root admin 680 Jul 14 08:32 rubygems-update-0.9.0</DIV><DIV>drwxr-xr-x 3 root admin 102 Mar 7 21:48 sources-0.0.1</DIV><DIV>drwxr-xr-x 10 root admin 340 Mar 8 08:49 tidy-1.1.2</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>???</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>quite confusing ;-)</DIV></BODY></HTML>