summaryrefslogtreecommitdiffstats
path: root/runtime/doc/if_ruby.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-08-15 17:43:31 +0200
committerBram Moolenaar <Bram@vim.org>2012-08-15 17:43:31 +0200
commit9b4512500adfab4d44e957329d1a89e97e9a3930 (patch)
treeafb71cc9c0ca20c627152976791923513e69afff /runtime/doc/if_ruby.txt
parentdd82d699c8cb3e60b2da968fb40622dc497f71ca (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/if_ruby.txt')
-rw-r--r--runtime/doc/if_ruby.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt
index bac0bb6aa7..71d8edcad3 100644
--- a/runtime/doc/if_ruby.txt
+++ b/runtime/doc/if_ruby.txt
@@ -1,4 +1,4 @@
-*if_ruby.txt* For Vim version 7.3. Last change: 2010 Oct 27
+*if_ruby.txt* For Vim version 7.3. Last change: 2012 Aug 02
VIM REFERENCE MANUAL by Shugo Maeda
@@ -25,7 +25,8 @@ downloading Ruby there.
1. Commands *ruby-commands*
*:ruby* *:rub*
-:rub[y] {cmd} Execute Ruby command {cmd}.
+:rub[y] {cmd} Execute Ruby command {cmd}. A command to try it out: >
+ :ruby print "Hello"
:rub[y] << {endpattern}
{script}
@@ -40,9 +41,6 @@ downloading Ruby there.
wasn't compiled in. To avoid errors, see
|script-here|.
-Command to try it out: >
- :ruby print "Hello" # this is a comment
-
Example Vim script: >
function! RedGem()
@@ -211,6 +209,8 @@ for sure edit "gvim.exe" and search for "ruby\d*.dll\c".
If you want to build Vim with Ruby 1.9.1, you need to edit the config.h file
and comment-out the check for _MSC_VER.
+You may also need to rename the include directory name to match the version,
+strangely for Ruby 1.9.3 the directory is called 1.9.1.
==============================================================================
vim:tw=78:ts=8:ft=help:norl: