# Gem on windows fails with 1.9.0

**URL:** <https://rubytalk.org/t/gem-on-windows-fails-with-1-9-0/44005>\
**Category:** ruby-talk\
**Created:** [24 January 2008 04:48 UTC](https://rubytalk.org/t/gem-on-windows-fails-with-1-9-0/44005 "2008-01-24T04:48:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Munagala\_Ramanath](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@Munagala\_Ramanath](https://rubytalk.org/u/Munagala_Ramanath)\
**Post date:** [24 January 2008 04:48 UTC](https://rubytalk.org/t/gem-on-windows-fails-with-1-9-0/44005/1 "2008-01-24T04:48:25Z")

</div>

After installing 1.9.0-0 binaries from  
[http://www.ruby-lang.org/en/downloads/](http://www.ruby-lang.org/en/downloads/)  
on Windows, gem (i.e. gem list) fails with a popup diagnostic saying "The  
application  
failed to start because zlib.dll was not found."

Any help on where to get this dll and where to put it is appreciated.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Luis\_Lavena1](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Luis\_Lavena1](https://rubytalk.org/u/Luis_Lavena1)\
**Post date:** [24 January 2008 14:40 UTC](https://rubytalk.org/t/gem-on-windows-fails-with-1-9-0/44005/2 "2008-01-24T14:40:07Z")

</div>

> [Note: parts of this message were removed to make it a legal post.]
> 
> After installing 1.9.0-0 binaries fromhttp://www.ruby-lang.org/en/downloads/  
> on Windows, gem (i.e. gem list) fails with a popup diagnostic saying "The  
> application  
> failed to start because zlib.dll was not found."

The message is clear: you lack zlib.dll file to use RubyGems  
(actually, the zlib extension is the one uss it).

> Any help on where to get this dll and where to put it is appreciated.

Try looking at [http://www.zlib.net/](http://www.zlib.net/) download the windows pre-compiled  
binaries, rename the zlib1.dll and put it there.

HTH,

> **···**
>
> On 24 ene, 02:48, Munagala Ramanath \<amberar...@gmail.com\> wrote:  
> --  
> Luis Lavena

---

<div class="post-metadata">

**Author:** ![Daniel\_Berger2](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/daniel_berger2/32/2243_2.png) [@Daniel\_Berger2](https://rubytalk.org/u/Daniel_Berger2)\
**Post date:** [24 January 2008 14:45 UTC](https://rubytalk.org/t/gem-on-windows-fails-with-1-9-0/44005/3 "2008-01-24T14:45:22Z")

</div>

All the more reason we need a pure Ruby version of Zlib. 🙂

Regards,

Dan

> **···**
>
> On Jan 24, 7:40 am, Luis Lavena \<luislav...@gmail.com\> wrote:
> 
> > On 24 ene, 02:48, Munagala Ramanath \<amberar...@gmail.com\> wrote:
> > 
> > \> [Note: parts of this message were removed to make it a legal post.]
> > 
> > \> After installing 1.9.0-0 binaries fromhttp://www.ruby-lang.org/en/downloads/  
> > \> on Windows, gem (i.e. gem list) fails with a popup diagnostic saying "The  
> > \> application  
> > \> failed to start because zlib.dll was not found."
> > 
> > The message is clear: you lack zlib.dll file to use RubyGems  
> > (actually, the zlib extension is the one uss it).
> > 
> > \> Any help on where to get this dll and where to put it is appreciated.
> > 
> > Try looking athttp://www.zlib.net/download the windows pre-compiled  
> > binaries, rename the zlib1.dll and put it there.
