I successfully build gvim with dynamic ruby support on a Win7 32-bit system 
using the mingw ruby and gcc 4.5.0 from http://rubyinstaller.org/downloads and 
the following simple Make_mingw.mak mods:

-#RUBY=c:/ruby
+RUBY=c:/ruby192
 ifdef RUBY
 ifndef DYNAMIC_RUBY
 DYNAMIC_RUBY=yes
 endif
 #  Set default value
 ifndef RUBY_VER
-RUBY_VER = 16
+RUBY_VER = 191
 endif
 ifndef RUBY_VER_LONG
-RUBY_VER_LONG = 1.6
+RUBY_VER_LONG = 1.9.1
 endif

However, ":echo has('ruby')" returns 0 and ":ruby puts 'Hello'" returns

E448: Could not load library function rb_str2cstr
E266: Sorry, this commands is disabled, the Ruby library could not be loaded.

Running ":version" shows "+ruby/dyn" and 
-DDYNAMIC_RUBY_DLL="msvcrt-ruby191.dll" and PATH has C:\ruby192\bin containing 
msvcrt-ruby191.dll

Any ideas on what's going wrong?

Jon

-- 
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