- Download the windows binaries for Ruby 1.8.7 here: http://www.ruby-lang.org/en/downloads/ extract that to wherever you would like, I use c:\ruby. Then put c:\ruby\bin in your PATH environment variable.
- Download the zlib package: http://www.zlib.net/zlib123-dll.zip and extract the zlib1.dll, rename it to zlib.dll and move it into your Windows\System32.
- Download the iconv package: http://sourceforge.net/project/showfiles.php?group_id=25167&package_id=51458. Find and extract the iconv.dll into your Windows\System32.
-
Download the rubygems package and follow the instructions, basically extracting the package and running
ruby setup.rb -
Verify that everything works properly by trying a
gem install rails -
once that installs then do:
rails test_project
Note: If zlib.dll and iconv.dll don't work, copy them into c:\ruby\bin
Source: http://bit.ly/DICb
Comments
[...] Ruby 1.8.7 required me Permalink
Submitted by The Rake’s Prog... (not verified) on Mon, 09/07/2009 - 00:52
[...] Ruby 1.8.7 required me to follow the steps here . This straightened out an error I was getting from Windows about [...]
If you want use capistrano Permalink
Submitted by Rafa G. (not verified) on Tue, 08/11/2009 - 06:31
If you want use capistrano don’t forget to install openssl for windows.
Thanks for the step-by-step guide
Rafa G.: I found that I Permalink
Submitted by Martin (not verified) on Thu, 09/17/2009 - 04:39
Rafa G.: I found that I needed SSL just to run gem install. I used http://www.slproweb.com/download/Win32OpenSSL_Light-0_9_8k.exe from http://www.slproweb.com/products/Win32OpenSSL.html. That did the trick.
Oh yes, and gdbm.dll is also Permalink
Submitted by Martin (not verified) on Thu, 09/17/2009 - 04:42
Oh yes, and gdbm.dll is also required if you are running the test suite. Still searching for that...
That worked! I had some Permalink
Submitted by Aaron (not verified) on Sun, 09/27/2009 - 14:12
That worked! I had some issues with ruby, as it was trying to find ruby gems from the one click installer. I used unset in cygwin to delete rubyopt. Put the dlls in the bin folder of the ruby directory, installed openssl and im good to go :)
I followed this word for Permalink
Submitted by about2flip (not verified) on Sun, 11/01/2009 - 01:09
I followed this word for word. I was trying to upgrade to 1.8.7 from 1.8.6, and it still says 1.8.6 when i do ruby -v.
Any suggestions
Try uninstalling Ruby 1.8.6 Permalink
Submitted by teknikqa on Sun, 11/01/2009 - 11:13
Try uninstalling Ruby 1.8.6 first.
Add new comment