<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hey Paolo,<DIV>You forgot to include the Ruby Gems library first which you'l need to access those gems,</DIV><DIV>just stick a require 'rubygems' at the top of your file before the other require's and you should</DIV><DIV>be good to go:)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Cheers</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Jonathan</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><IMG src="cid:D87E8AF6-54B3-4C79-91BB-C6B41497F38C@local"><DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>T.</B> +44 (0)20 7099 7486</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>E.</B><A href="mailto:jonathan@agileevolved.com">jonathan@agileevolved.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>W</B>.http://<A href="http://www.agileevolved.com/"><FONT class="Apple-style-span" color="#001FE8">www.agileevolved.com</FONT></A></DIV></DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"><DIV><DIV><DIV><BLOCKQUOTE type="cite"><BR><SPAN style="font-family: courier new,monospace;"> $ gem install facets </SPAN><BR style="font-family: courier new,monospace;"><SPAN style="font-family: courier new,monospace;">$ gem install xmpp4r</SPAN><BR style="font-family: courier new,monospace;"><SPAN style="font-family: courier new,monospace;"> $ ruby gtakerence.rb</SPAN><BR style="font-family: courier new,monospace;"><SPAN style="font-family: courier new,monospace;">gtalkerence.rb:1:in `require': no such file to load -- facet/string/brief (LoadError)</SPAN><BR style="font-family: courier new,monospace;"> <SPAN style="font-family: courier new,monospace;"> from gtalkerence.rb:1<BR><BR></SPAN>It doesn't find the libraries I just installed. <BR>Just for reference these are the gtalkerence.rb's first lines:<BR><BR style="font-family: courier new,monospace;"> <SPAN style="font-family: courier new,monospace;"> require 'facet/string/brief'</SPAN><BR style="font-family: courier new,monospace;"><SPAN style="font-family: courier new,monospace;">require 'xmpp4r'</SPAN><BR style="font-family: courier new,monospace;"><SPAN style="font-family: courier new,monospace;"> require 'yaml'<BR><BR></SPAN>I've seen that inside the gems folder there are some setup.rb files...<BR><SPAN style="font-family: courier new,monospace;">C:\ruby\lib\ruby\gems\1.8\gems\facets-1.7.46\setup.rb</SPAN><BR style="font-family: courier new,monospace;"> <SPAN style="font-family: courier new,monospace;">C:\ruby\lib\ruby\gems\1.8\gems\xmpp4r- 0.3\setup.rb</SPAN><BR style="font-family: courier new,monospace;"><BR>I just tried to launch them manually (shouldn't it happen automatically at 'gem install' time?) and then I relaunch my bot:<BR><BR><SPAN style="font-family: courier new,monospace;"> $ ruby gtakerence.rb<BR>GTalkerence: a GTalk ruby bot<BR>subscribers:<A href="mailto:paolo.dona@seesaw.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">paolo.dona@seesaw.it</A>, ...<BR>...<BR><BR> </SPAN>It does work now... but why? <BR><SPAN style="font-family: courier new,monospace;"><BR></SPAN>My conclusion is: 'gem install' does not properly terminates the installation of some libraries, I have to launch setup.rb to finish its job...<BR>I thought it was my windows environment, but that happened to a friend of mine on a Mac too...<BR> <BR>Do you have an explanation for this weird behavior?<BR>Paolo<BR><BR>PS: I've got a fresh ruby 1.8.5 installation (from ruby-one-click-installer).<BR><SPAN class="sg"></SPAN><BR>-- <BR>Paolo Dona'<BR>SeeSaw | Another point of view<BR><A href="http://www.seesaw.it">http://www.seesaw.it</A><BR><A href="mailto:paolo.dona@seesaw.it"> paolo.dona@seesaw.it</A><BR>personal <A href="http://paolodona.blogspot.com">http://paolodona.blogspot.com</A><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">chat mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:chat@lrug.org">chat@lrug.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV></DIV><BR><BR><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR></BODY></HTML>