From: Alpha Blue Date: 2010-01-18T23:19:00+09:00 Subject: Re: Can't install gems (Windows) I know the post above is a long one but it was necessary to showcase some of the problems a person may encounter on windows. However, it's all working fine with the same release that you are using. My suggestions is for you to uninstall the current version of ruby you are using and check your windows paths to ensure that no traces are left of ruby or ruby 19. Then download and install the latest ruby19 from the source I provided (which is the same source you are using). Install the latest ruby19. Download and install the latest devkit and unzip it and place it inside C:\ruby19. The directory structure will be such: Directory of C:\Ruby19 01/18/2010 09:02 AM . 01/18/2010 09:02 AM .. 01/18/2010 09:02 AM bin 01/18/2010 09:02 AM devkit 01/18/2010 08:28 AM doc 01/18/2010 08:28 AM include 04/11/2009 10:52 AM 304 INSTALL.txt 01/18/2010 08:28 AM lib 01/18/2010 08:28 AM share 01/18/2010 08:28 AM 126,093 unins000.dat 01/18/2010 08:26 AM 1,167,576 unins000.exe 01/18/2010 08:28 AM 20,709 unins000.msg 4 File(s) 1,314,682 bytes 8 Dir(s) 291,281,985,536 bytes free Notice that the devkit is in the Ruby19 folder and the bin folder that comes with the devkit is forceably copied over the Ruby19 bin which will just add the contents into the bin directory. Then, once you do this you can begin installing gems. Start with the same ones I installed for starters and use the same options. Always, always, always test your gems right after installation. You do this by going to irb and then running a require "gemname" and if it's good it will show => true. If it's bad it will show => false or give you a lot of errors. If you get a lot of errors like you saw I did with mongrel above, it just needs to be built from source. With the devkit installed, you can do just that. Remember that when you need platform specific gems to declare it that way: gem install "gemname" --platform x86-mingw32 If you need to install from a particular source, then include all of it like I did with mongrel. The big question that you might ask me later on is how did I know to use that particular gem source? Well go visit http://isitruby19.com and do a search for the gem you want to download. People will give you the info on what gems work and which gems don't and in this case, mongrel had a good build listed at the following gem source I provided above. I hope this helps you isolate and fix your issues now. -- Posted via http://www.ruby-forum.com/.