From: Alpha Blue Date: 2010-01-18T11:54:29+09:00 Subject: Re: Can't install gems (Windows) I don't think you should be using 1.9.1 on windows to begin with. I'm a windows system admin and it's very difficult to begin to understand how to build 1.9.1 from binaries. A lot of people, especially good people like Luis and Roger have gone out of their way to work on a package that is built around MinGW. For windows installations we're pretty much stuck with either a MinGW or cygwin. First, Luis is correct that you need to supply all of the information for your current ruby setup. Personally, I would not use 1.9.1. A lot of people make the mistake in wanting to use the latest and greatest and after awhile they realize the difficulties with trying to find gems that are compiled not only for their ruby environment but gems that include OS dependencies. With 1.9.1 you need to install gems based on those dependency checks. So, you have a few options you should consider here. If you are hell bent on developing with windows, then go to the 1.8.6 one-click installer, or move to netbeans 6.8 and jruby. You can't use Ruby EE (enterprise edition) on a windows environment so that's not a good option. While you could go with a 1.8.7 setup, you are probably going to run into similar compiler issues, especially with windows 7. And, if you are trying to use 64-bit, this is a whole other headache in itself. So, outlining your options here if you are bent on developing on windows: 1.8.6 - One Click Installer (no headaches) JRuby 1.4 - use Netbeans 6.8 IDE ( very few headaches) OR, you can do the following: Install VMWare or Virtualbox, create a linux distro for either CentOS 5.4 OR Ubuntu 9.x, and follow numerous threads for getting your development going. My setup is as follows: I develop on Windows and on Linux (CentOS and Ubuntu). On Windows I have Ruby 1.8.6, Ruby 1.9.1(ming..), Jruby 1.2 and 1.4. On my vmware I run two distros (centos and ubuntu) and both of those distros use Ruby EE (which is very fast and stable version 1.8.7) I also use netbeans 6.8 on linux and it runs fine after you set it up properly. I know this might be a lot of information to take in, but I can think of about 5 things off the top of my head and I bet Luis can to, on what has gone wrong with your environment. I'm willing to help you out if you need it. -- Posted via http://www.ruby-forum.com/.