# Qt ruby gem install on windows xp

**URL:** <https://www.ruby-forum.com/t/qt-ruby-gem-install-on-windows-xp/137103>\
**Category:** Ruby\
**Created:** [May 8, 2008, 11:14pm UTC](https://www.ruby-forum.com/t/qt-ruby-gem-install-on-windows-xp/137103 "2008-05-08T23:14:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 8, 2008, 11:14pm UTC](https://www.ruby-forum.com/t/qt-ruby-gem-install-on-windows-xp/137103/1 "2008-05-08T23:14:53Z")

</div>

I was looking forward to trying Ruby with qt - it seems a great  
combination.

I installed Ruby on a windows XP machine using the ruby one click  
installer (1.8.6-26). I then downloaded the qtruby4-1.4.9-mswin32.gem  
and tried to install with the command:

gem install qtruby4-1.4.9-mswin32.gem

Immediately I then get a buffer error. I have read somewhere that  
this could be due to zlib but I do not know how to get around the  
problem. Any ideas would be appreciated.

Thanks,

Mark Ryan

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 9, 2008, 1:57am UTC](https://www.ruby-forum.com/t/qt-ruby-gem-install-on-windows-xp/137103/2 "2008-05-09T01:57:19Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

removed\_email\_address@domain.invalid wrote:  
| I was looking forward to trying Ruby with qt - it seems a great  
| combination.  
|  
| I installed Ruby on a windows XP machine using the ruby one click  
| installer (1.8.6-26). I then downloaded the qtruby4-1.4.9-mswin32.gem  
| and tried to install with the command:  
|  
| gem install qtruby4-1.4.9-mswin32.gem  
|  
|  
| Immediately I then get a buffer error. I have read somewhere that  
| this could be due to zlib but I do not know how to get around the  
| problem. Any ideas would be appreciated.

What is the error you get, exactly?

And you can replace the zlib library with another build. It’s homepage  
should be a starting point:

[http://www.zlib.net/](http://www.zlib.net/)

Alternatively, you could extract the gem with 7Zip, WinRAR or any other  
packaging program that understand tar and gzip. You’ll have to install  
it somewhat manually, though (dropping it into a directory in  
path\_to\_ruby\lib\ruby\gems\1.8\gems that is named similar to the other  
gems there).

Alternatively: Can you gem install the Qt gem remotely?

* * *

Phillip G.  
Twitter: [twitter.com/cynicalryan](http://twitter.com/cynicalryan)  
Blog: [http://justarubyist.blogspot.com](http://justarubyist.blogspot.com)

~ I think nighttime is dark so you can imagine your fears with less  
distraction. – Calvin  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.8 (MingW32)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org](http://enigmail.mozdev.org)

iEYEARECAAYFAkgjkuwACgkQbtAgaoJTgL9GpQCeOLdqa1MHvgc+eU8dne9wOzzW  
iZUAoIG4LcZtC6rRp0DMJ3xCR/5hdW+P  
=fPcG  
-----END PGP SIGNATURE-----
