Trying to install Ruby alongside a Wamp Server so I can program in Rails. When I “gem install rails” in CMD, I get the following error:
C:/wamp/ruby/lib/ruby/1.9.1/rubygems/package.rb:10:in ‘require’: 126: The specified module could not be found. – C:/wamp/ruby/lib/ruby/1.9.1/i386-mswin32/zlib.so (Load Error)
I’ve checked and the zlib.so is definitely there. Where have I gone wrong?
You probably need the zlib DLL file. You can download it from here and copy it into the same folder as that zlib.so file as
zlib.dll. It may be calledzlib1.dllin the download, and there may already be azlib1.dllon your machine that you need to rename tozlib.dll