Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Ruby 1.9 compatibility status
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michael Henry  
View profile  
 More options Feb 10 2010, 1:02 pm
From: Michael Henry <v...@drmikehenry.com>
Date: Wed, 10 Feb 2010 13:02:04 -0500
Local: Wed, Feb 10 2010 1:02 pm
Subject: Ruby 1.9 compatibility status
All,

Vim does not currently support integration with Ruby 1.9,
but it's on the list (see :help todo).

Masaki Suketa supplied a patch[1] to the vim_dev mailing list in
July 2009, under the subject line "Patch for Vim with Ruby 1.9".
Using this patch, I'm able to build Vim with support for Ruby
1.9 (on Arch Linux), as well as Ruby 1.8 (on Fedora 12 Linux).
The Ruby-based plugins I use (LustyExplorer[2] and
LustyJuggler[3]) work fine Ruby 1.8 and Masaki's patch.  With
Ruby 1.9, LustyExplorer is throwing an exception[4], but I think
it's a problem with the plugin and the changing Ruby language
definition, not a problem with integrating Ruby into Vim.

Until Ruby 1.9 is supported in Vim, it will be more difficult
for plugin authors to try Ruby 1.9 and fix any problems.  Arch
Linux uses Ruby-1.9, so the Arch packager for Vim has disabled
Ruby integration[5] pending a Vim patch that works with Ruby
1.9.  This leave Arch users somewhat out in the cold for Ruby
integration.

Is Masaki's patch ready to be incorporated, or is more testing
required?  Masaki had done testing with multiple versions of
Ruby, including 1.8.7, 1.9.1, and 1.9.2dev.  It's working for me
with Ruby 1.8 on Fedora, so it looks harmless for Ruby 1.8
users, while allowing Ruby 1.9 users a chance to more widely
exercise Ruby-based plugins and shake out compatibility bugs.

Thanks,
Michael Henry

[1]:
http://groups.google.com/group/vim_dev/browse_thread/thread/699c65598...
[2]: http://www.vim.org/scripts/script.php?script_id=1890
[3]: http://www.vim.org/scripts/script.php?script_id=2050
[4]: The exception looks like this:
      type mismatch: Fixnum given
      (eval):118:in `index'
      (eval):118:in `block in buildScoreArray'
      (eval):117:in `each_byte'
      (eval):117:in `buildScoreArray'
      (eval):103:in `score'
      (eval):326:in `block in matching_entries'
      (eval):325:in `select'
      (eval):325:in `matching_entries'
      (eval):312:in `compute_ordered_matching_entries'
      (eval):246:in `refresh'
      (eval):222:in `key_pressed'
      (eval):560:in `block in key_pressed'
      (eval):492:in `time'
      (eval):531:in `key_pressed'
      (eval):1:in `<main>'
[5]: http://bugs.archlinux.org/task/16710


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MindTooth  
View profile  
 More options Apr 13 2011, 8:22 am
From: MindTooth <birge...@gmail.com>
Date: Wed, 13 Apr 2011 05:22:23 -0700 (PDT)
Local: Wed, Apr 13 2011 8:22 am
Subject: Re: Ruby 1.9 compatibility status

Hello,

Please look into fixing this. I'm using Ruby 1.9.2 with RVM on Mac OSX.

Seeing that Vim doesn't compile that well with the latest Ruby releases. I
consider this to be something to look into.

Thank you!

Best regards,

Birger J.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tux.  
View profile  
 More options Apr 13 2011, 7:09 pm
From: "tux." <der_tux...@arcor.de>
Date: Thu, 14 Apr 2011 01:09:01 +0200
Local: Wed, Apr 13 2011 7:09 pm
Subject: Re: Ruby 1.9 compatibility status
MindTooth schrob am 13.04.2011 14:22:

> Seeing that Vim doesn't compile that well with the latest Ruby releases

Does for me.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MindTooth  
View profile  
 More options Apr 16 2011, 7:25 pm
From: MindTooth <birge...@gmail.com>
Date: Sat, 16 Apr 2011 16:25:34 -0700 (PDT)
Local: Sat, Apr 16 2011 7:25 pm
Subject: Re: Ruby 1.9 compatibility status

It exits with the following error:

ld: library not found for -lruby.1.9.1

Using Ruby 1.9.2 with RVM. OSX and Homebrew.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »