[task #12498] Add Ruby 2.0 support to Ruby plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[task #12498] Add Ruby 2.0 support to Ruby plugin

Eric L.-2
URL:
  <http://savannah.nongnu.org/task/?12498>

                 Summary: Add Ruby 2.0 support to Ruby plugin
                 Project: WeeChat
            Submitted by: None
            Submitted on: Tue 26 Feb 2013 06:43:53 PM UTC
                Category: None
         Should Start On: Tue 26 Feb 2013 12:00:00 AM UTC
   Should be Finished on: Tue 26 Feb 2013 12:00:00 AM UTC
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: Joel Taylor
        Originator Email: [hidden email]
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: otters

    _______________________________________________________

Details:

Right now Weechat compiles fine with Ruby 2.0, but when trying /plugin load
ruby, I get this error:

    /usr/local/lib/weechat/plugins/ruby.so: undefined symbol: rb_iv_get

Probably an API difference between 1.9 and 2.0.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12498>

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


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #12498] Add Ruby 2.0 support to Ruby plugin

Eric L.-2
Update of task #12498 (project weechat):

                Category:                    None => scripts API plugins    
                  Status:                    None => Need Info              
             Assigned to:                    None => flashcode              

    _______________________________________________________

Follow-up Comment #1:

I just compiled Ruby 2.0 with:


./configure --enable-shared
make
make install


And I can use Ruby 2.0 in WeeChat.

So are you sure Ruby was properly compiled?

By the way, please try only with latest devel version of WeeChat, since I just
fixed a crash with Ruby (something different related to number of arguments of
a function in API, see bug #31050).


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12498>

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


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #12498] Add Ruby 2.0 support to Ruby plugin

Eric L.-2
Follow-up Comment #2, task #12498 (project weechat):

Do you have some news, is Ruby 2.0 working in WeeChat for you or not?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12498>

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


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #12498] Add Ruby 2.0 support to Ruby plugin

Eric L.-2
Update of task #12498 (project weechat):

                  Status:               Need Info => Done                  
        Percent Complete:                      0% => 100%                  
             Open/Closed:                    Open => Closed                
         Planned Release:                    None => 0.4.3                  

    _______________________________________________________

Follow-up Comment #3:

Ruby 2.0 should work fine in WeeChat since version 0.4.3.
See patch #8209

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12498>

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


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev