Skip to content

Instantly share code, notes, and snippets.

@jonforums
Created October 27, 2010 19:40
Show Gist options
  • Save jonforums/649790 to your computer and use it in GitHub Desktop.
Save jonforums/649790 to your computer and use it in GitHub Desktop.
diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt
--- a/runtime/doc/if_ruby.txt
+++ b/runtime/doc/if_ruby.txt
@@ -197,17 +197,28 @@
when needed. When you don't use the Ruby interface you don't need it, thus
you can use Vim even though this library file is not on your system.
-You need to install the right version of Ruby for this to work. You can find
-the package to download from:
-http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html
-Currently that is ruby-1.9.1-p429-i386-mswin32.zip
+You need to install the right version of Ruby for this to work. On MS-Windows
+you can find the binary downloads at http://www.ruby-lang.org/en/downloads/
+in the "Ruby on Windows" section with the most recent version being
+Ruby-1.9.2-p0.
+
+There are two "flavors" of MRI Ruby binary downloads available for MS-Windows
+users. The first flavor is the RubyInstaller versions providing both Windows
+installers and 7-Zip binary archives containing the key dependencies required by
+Ruby such as OpenSSL, ZLib, and curses as well as a convenient build MSys/MinGW
+toolchain called the DevKit for easily building native Ruby extensions. The
+RubyInstaller project currently builds Ruby and its dependencies with a
+MSys/MinGW based toolchain (4.5.0).
+
+The second flavor is binary archive without the key Ruby dependencies included.
To use the Ruby interface the Ruby DLL must be in your search path. In a
console window type "path" to see what directories are used.
The name of the DLL must match the Ruby version Vim was compiled with.
-Currently the name is "msvcrt-ruby191.dll". That is for Ruby 1.9.1. To know
-for sure edit "gvim.exe" and search for "ruby\d*.dll\c".
+Currently the name is "msvcrt-ruby191.dll". That is for Ruby 1.9.1 and
+Ruby 1.9.2 as Ruby 1.9.2 is "library compatible" with Ruby 1.9.1 To know 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment