On Jul 28, 11:02 pm, Ichigo P. [email protected] wrote:
hi, could anyone help me answer the following questions.
i’ve tried installing a 64-bit ruby on a 64-bit windows.
i’ve successfully installed it and able to try some codes
using irb. but when i tried to update the gem, i got the
error that the zlib can’t be found, even though i have
it in the ruby\bin folder.
my question is this, does zlib dll and other dlls need to be
64 bit in order to install gems in ruby?
Yes, all the DLLs needs to be exactly of the same architecture.
are there any links where i can download 64-bit zlib?
There is no pre-built binary. Even more, you will need to use the same
compiler used to build Ruby as the CRT differences could generate
issues in memory allocation and release (which translates to
Unless you have a 64bits DLL that you need to interface with, I would
advise you install 32bits Ruby and avoid the pain of building
everything (zlib, openssl, readline and many others) from scratch.
It might be biased, but I would recommend you use RubyInstaller