# Problems with gem installation on Windows

**URL:** <https://www.ruby-forum.com/t/problems-with-gem-installation-on-windows/197536>\
**Category:** Ruby\
**Created:** [October 15, 2010, 10:39pm UTC](https://www.ruby-forum.com/t/problems-with-gem-installation-on-windows/197536 "2010-10-15T22:39:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [October 15, 2010, 10:39pm UTC](https://www.ruby-forum.com/t/problems-with-gem-installation-on-windows/197536/1 "2010-10-15T22:39:31Z")

</div>

I am looking for ruby expert for installing ‘libxslt-ruby’ gem on  
Windows with Ruby 1.9.2 via Bundler.

The main problem is it is dependent on the following libraries to  
function properly:

```
* libm (math routines: very standard)
* libz (zlib)
* libiconv
* libxml2
* libxslt
* libxml-ruby bindings

```

Can anybody help me?

---

<div class="post-metadata">

**Author:** ![torbol](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/82dd89/32.png) [@torbol](https://www.ruby-forum.com/u/torbol)\
**Post date:** [October 15, 2010, 10:39pm UTC](https://www.ruby-forum.com/t/problems-with-gem-installation-on-windows/197536/2 "2010-10-15T22:39:36Z")

</div>

On Oct 15, 9:47am, Roman P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> - libxslt
> - libxml-ruby bindings
> 
> Can anybody help me?

Please ask the gem author to provide binaries for MinGW based ruby  
(RubyInstaller) – which is hte one I assume you’re using.

Indicate to him to look at projects like sqlite3-ruby, nokogiri and  
rake-compiler on GitHub:

> **[GitHub - rake-compiler/rake-compiler: Provide a standard and simplified way...](https://github.com/rake-compiler/rake-compiler)**
>
> Provide a standard and simplified way to build and package Ruby C and Java extensions using Rake as glue. - GitHub - rake-compiler/rake-compiler: Provide a standard and simplified way to build and ...

> **[GitHub - sparklemotion/sqlite3-ruby: Ruby bindings for the SQLite3 embedded...](https://github.com/sparklemotion/sqlite3-ruby)**
>
> Ruby bindings for the SQLite3 embedded database. Contribute to sparklemotion/sqlite3-ruby development by creating an account on GitHub.

[http://github.com/tenderlove/nokogiri](http://github.com/tenderlove/nokogiri)

rake-compiler provides the building blocks to create binary gems from  
Linux or OSX.

Examples of usage generating “fat-binaries” supporting both 1.8 and  
1.9 are in sqlite3-ruby and nokogiri build and uses libxml, which may  
serve as guidance.

You can also point the developer to RubyInstaller group:

[http://groups.google.com/group/rubyinstaller/](http://groups.google.com/group/rubyinstaller/)

Where other Windows Ruby developers might help him getting things  
working to provide these binaries.

I know it doesn’t solve the problem, but is a start.

---

<div class="post-metadata">

**Author:** ![torbol](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/82dd89/32.png) [@torbol](https://www.ruby-forum.com/u/torbol)\
**Post date:** [October 15, 2010, 10:59pm UTC](https://www.ruby-forum.com/t/problems-with-gem-installation-on-windows/197536/3 "2010-10-15T22:59:11Z")

</div>

From: “Roman P.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

> - libxslt
> - libxml-ruby bindings
> 
> Can anybody help me?

Hello Roman,

if you are using cygwin you can probably find those libraries in the  
setup  
program.  
I was able to install rails by installing most of the above libraries in  
the  
cygwin setup program.

Good luck!

Daniel
