Ruby-mswin32

How to install

If you want to install the archive, extract it to your favorite directory (we call it $TOPDIR).
And after that, add $TOPDIR\bin to PATH environment variable.

Some extension libraries depend on DLLs that are not included theses packages.

You can get binaries of PDCurses, GDBM, OpenSSL, readline and Zlib at Porting Libraries to Win32.
You can get binary of Iconv at Meadowy.org; iconv-1.8.win32.zip
You can get binary of Tcl/Tk at ActiveState; ActiveTcl

When using the x64-mswin64 binary, you have to install this package.

at Nov.01,2003 10:35 / permalink / back

Trackback

PingURL:

Comment

Wolfgang Nadasi-Donner
After installing the package for Ruby 1.9 () I stated it an got the following error Message (Example):

H:\Dokumente und Einstellungen\interwolf\Desktop>ruby -e'puts "Hello"'
ruby: no such file to load -- ubygems (LoadError)

H:\Dokumente und Einstellungen\interwolf\Desktop>ruby --version
ruby 1.9.0 (2005-07-22) [i386-mswin32]

What went wrong?

Best regards, Wolfgang Nadasi-Donner
usa
Unset RUBYOPT environment variable.
It was set by RubyInstaller what you had installed before, I guess.
Kal
How do I install the dependent dlls? Do I just download the zip files and extract the dll files to "$TOPDIR\bin"? Some of the packages also contain other files (like exe files) in their respective "bin" directories; do I need those as well? What about ActiveTcl? That thing comes with an installer; so do I just install it through the installer or do I need to copy some files as well?
usa
Install them to the directory for which you hope. Of course, don't forget to set PATH for such directories. "$TOPDIR\bin" is one of the good choices.
If the dlls have their own installars, such as ActiveTcl, use the installers. They will set necessary environment variables.
Kal
I'm confused. >_<
Supposed I have extracted "ruby-1.8.4-i386-mswin32.zip" to "C:\Ruby\".
Now I download "zlib-1.1.4-1-mswin32.zip" and there is a "bin\zlib.dll" file in it.
Do I extract "zlib.dll" to "C:\Ruby\bin\" or do I put it elsewhere?
Claus Folke Brobak
I am wondering why the old "zlib-1.1.4" (zlib.dll) is required and not the newer "zlib-1.2.x" (zlib1.dll)? The "One-Click Installer" seems to use the newer "zlib-1.2.x". You can read more here: "http://www.zlib.net/DLL_FAQ.txt".
Thanks in advance!
Kind regards,
Claus
Bek
Renaming the file 'zlib1.dll' in '%your_ruby_install_path%/bin' in 'zlib.dll' should fix the problem.

I was heading to the official zlib release to copy it on own folder when I realized that the file was already here : it's the rubygems package that is using a wrong dll name...
Zuzi
After run commands of the Ruby, some error raided saying **.dll can not be found. eg. readline.dll when using irb. How to solve the problem? The version i use is 1.9.1 binary - mswin32.
Nick
These commands are barely legible. They don't spell out clear dependencies in that they don't include version numbers. At the very least the links should be directly to a file.
Eckhard
I got some error messages that indicates a problem with the OpenSSl library I downloaded via the link above.
In the opensll binary is a wrong library included (ssleay32.lib and not ssleay32.dll). The ssleay32.dll is not in the zip-file: openssl-0.9.8d-1-mswin32.zip. I used a newer openssl binary with the correct dll-file (openssl-0.9.8g_win32.zip). After that all problems are solved.

name:
E-Mail (not open to the public):
text:

referer

Generated by lily 0.1.5-u
Powered by ruby 1.8.7 / mod_ruby 1.2.6