List Info

Thread: Does'nt load a external librarie in Ruby Plugin




Does'nt load a external librarie in Ruby Plugin
user name
2007-08-31 16:42:37
URL:
  <http://sav
annah.nongnu.org/bugs/?20945>

                 Summary: Does'nt load a external librarie
in Ruby Plugin
                 Project: Wee Enhanced Environment for Chat
            Submitted by: shingara
            Submitted on: vendredi 31.08.2007 à 21:42
                Category: plugins
                Severity: 3 - Normal
              Item Group: other
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.2.5
                IRC nick: shingara

    _______________________________________________________

Details:

I want create a plugin for weechat like
jabber_highlight_notify[1]

I know the Ruby so I want use XMPP4R[2] in my weechat
Script.

But when I want load my script I have an error :

Ruby error: "#<LoadError: (eval):3:in `require': no
such file to load --
xmpp4r/client>"

For example that my script works, I update it for doesn't
use Weechat module.
It's the without_weechat tags.

I attach too the script with only weechat using and made an
error.

I use weechat 0.2.5 and Xmpp4r 0.3.1 in x86 arch.

[1] : http://da.weeno.net/code/irssi/jabber_hilight_notify/
[2] : http://home.gna.org/xmpp4
r/



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: vendredi 31.08.2007 à 21:42  Name:
highlight_jabber_notify_without_weechat.rb  Size: 2 ko   By:
shingara
Plugin weechat and script update for test it
<http://savannah.nongnu.org/bugs/download.php?file_
id=13852>
-------------------------------------------------------
Date: vendredi 31.08.2007 à 21:42  Name:
highlight_jabber_notify.rb  Size: 2
ko   By: shingara
Plugin weechat and script update for test it
<http://savannah.nongnu.org/bugs/download.php?file_
id=13853>

    _______________________________________________________

Reply to this item at:

  <http://sav
annah.nongnu.org/bugs/?20945>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.or
g/



_______________________________________________
Weechat-dev mailing list
Weechat-devnongnu.org

http://lists.nongnu.org/mailman/listinfo/weechat-dev

Does'nt load a external librarie in Ruby Plugin
user name
2007-09-28 15:23:26
Follow-up Comment #1, bug #20945 (project weechat):

After several test, I have found why this bug.

Xmpp4R is a libraries obtains with rubygems. So I just need
had a line for
add this require :

require 'rubygems'

before require 'xmpp4r'. In a normal irb, it's not
obligatory

    _______________________________________________________

Reply to this item at:

  <http://sav
annah.nongnu.org/bugs/?20945>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.or
g/



_______________________________________________
Weechat-dev mailing list
Weechat-devnongnu.org

http://lists.nongnu.org/mailman/listinfo/weechat-dev

Does'nt load a external librarie in Ruby Plugin
user name
2007-09-28 15:46:58
Update of bug #20945 (project weechat):

                  Status:                    None => Wont
Fix               
             Assigned to:                    None =>
flashcode              
             Open/Closed:                    Open =>
Closed                 


    _______________________________________________________

Reply to this item at:

  <http://sav
annah.nongnu.org/bugs/?20945>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.or
g/



_______________________________________________
Weechat-dev mailing list
Weechat-devnongnu.org

http://lists.nongnu.org/mailman/listinfo/weechat-dev

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )