HOWTO: Install Ruby 1.8.7 on Windows

I’ve moved to a new home. See this post at “An Individual Approach” –

  1. Download the windows binaries for Ruby 1.8.7 here: extract that to wherever you would like, I use c:\ruby. Then put c:\ruby\bin in your PATH environment variable.
  2. Download the zlib package: and extract the zlib1.dll, rename it to zlib.dll and move it into your Windows\System32.
  3. Download the iconv package: Find and extract the iconv.dll into your Windows\System32.
  4. Download the rubygems package and follow the instructions, basically extracting the package and running
    ruby setup.rb
  5. Verify that everything works properly by trying a
    gem install rails
  6. once that installs then do:
    rails test_project

Note: If zlib.dll and iconv.dll don’t work, copy them into c:\ruby\bin


7 thoughts on “HOWTO: Install Ruby 1.8.7 on Windows

  1. 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 :)

  2. Pingback: Zlib.dll | TagHall
  3. Hi,I am integrating singly api,After connecting Facebook,twitter,Linkedin etc getting an error like this:::SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
    Can you plese help me
    I am using on windows

Comments are closed.