Installing gem on Windows 7

Rodrigo Botafogo's Avatar

Rodrigo Botafogo

03 Nov, 2010 01:49 PM

How do I know if a gem can be installed on Windows? I've tried to install statistics2 on a Windows machine and it doesn't work. I actually want to use statsample on windows, but it seems to require statistics2. Doing a gem install statsample works perfectly, but when I try to run it, it says I should install statistics2. So, I'm stuck, and I'm not sure if the solution is going to another OS or if there is a way of getting those thinks working on Windows.

Thanks for any help

  1. Support Staff 1 Posted by Nick Quaranto on 04 Nov, 2010 04:55 PM

    Nick Quaranto's Avatar

    Hi there,

    If gems have C extensions, usually they need to have a separate windows version (like nokogiri). Most of the time it should just work...if there's specific ones that don't, try to take it up with the author that it's not supported, and consider checking out a patch to do so :)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac