Jon Maken wrote:

> I've tested the following patch for download [1] works so far with the
> Ruby for Windows 1.8.7p302, 1.9.1p430, and 1.9.2p0 from 
> http://rubyinstaller.org
> on a Win7 Ultimate 32-bit system using MSys/MinGW/TDM 4.5.0 or LLVM-
> GCC 2.7.  I haven't tested on my Ubuntu system and it's unlikely I
> find the time to do so.
> 
> The problem was the 'rb_str2cstr' api first deprecated in Ruby 1.7.1
> and finally removed in 1.9.2p0.  The fix was do ifdef in the
> replacement 'rb_string_value' api which was first available in Ruby
> 1.7.1.  Additionally, I injected the same cross-platform dll/so
> loading code used in the if_lua.c and if_python.c code.  This *should*
> work on Ruby 1.6+.
> 
> Please review, test, and let me know what further mods are needed.

This patch has made it possible to load Ruby dynamically on Unix.
However, there is no patch for configure, thus one can't actually do
this.  Can somone make a patch for configure to load Ruby dynamically?


-- 
I have to exercise early in the morning before my brain
figures out what I'm doing.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui