Mercurial > vim
comparison runtime/doc/if_ruby.txt @ 7196:42717d048817 v7.4.907
commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 2 15:28:18 2015 +0100
patch 7.4.907
Problem: Libraries for dynamically loading interfaces can only be defined
at compile time.
Solution: Add options to specify the dll names. (Kazuki Sakamoto,
closes #452)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 02 Nov 2015 15:30:05 +0100 |
parents | 3af822eb4da5 |
children | 444efa5f5015 |
comparison
equal
deleted
inserted
replaced
7195:6e4b63231a86 | 7196:42717d048817 |
---|---|
1 *if_ruby.txt* For Vim version 7.4. Last change: 2015 Feb 22 | 1 *if_ruby.txt* For Vim version 7.4. Last change: 2015 Oct 16 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Shugo Maeda | 4 VIM REFERENCE MANUAL by Shugo Maeda |
5 | 5 |
6 The Ruby Interface to Vim *ruby* *Ruby* | 6 The Ruby Interface to Vim *ruby* *Ruby* |
197 | 197 |
198 This means that Vim will search for the Ruby DLL file or shared library only | 198 This means that Vim will search for the Ruby DLL file or shared library only |
199 when needed. When you don't use the Ruby interface you don't need it, thus | 199 when needed. When you don't use the Ruby interface you don't need it, thus |
200 you can use Vim even though this library file is not on your system. | 200 you can use Vim even though this library file is not on your system. |
201 | 201 |
202 MS-Windows ~ | |
203 | |
202 You need to install the right version of Ruby for this to work. You can find | 204 You need to install the right version of Ruby for this to work. You can find |
203 the package to download from: | 205 the package to download from: |
204 http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html | 206 http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html |
205 Currently that is ruby-1.9.1-p429-i386-mswin32.zip | 207 Currently that is ruby-1.9.1-p429-i386-mswin32.zip |
206 | 208 |
214 If you want to build Vim with Ruby 1.9.1, you need to edit the config.h file | 216 If you want to build Vim with Ruby 1.9.1, you need to edit the config.h file |
215 and comment-out the check for _MSC_VER. | 217 and comment-out the check for _MSC_VER. |
216 You may also need to rename the include directory name to match the version, | 218 You may also need to rename the include directory name to match the version, |
217 strangely for Ruby 1.9.3 the directory is called 1.9.1. | 219 strangely for Ruby 1.9.3 the directory is called 1.9.1. |
218 | 220 |
221 Unix ~ | |
222 | |
223 The 'rubydll' option can be used to specify the Ruby shared library file | |
224 instead of DYNAMIC_RUBY_DLL file what was specified at compile time. The | |
225 version of the shared library must match the Ruby version Vim was compiled | |
226 with. | |
227 | |
219 ============================================================================== | 228 ============================================================================== |
220 vim:tw=78:ts=8:ft=help:norl: | 229 vim:tw=78:ts=8:ft=help:norl: |