Install the devkit at rubyinstaller.org/downloads
An additional note that others may find useful, from my recent attempt to install on windows using the ruby devkit...
To install the devkit, you extract the bin and devkit directories to your ruby directory which will place a few files in your ruby bin and a devkit directory in your ruby directory. Then per the instructions, you set the proper location for mingw in the fstab file.
In my case, some gems, namely hpricot and ruby-debug19, would not install on my system even with the devkit installed properly (error creating the makefile). I ended up installing the latest version of mingw separately from SourceForge, then changed the fstab file within the "ruby19/devkit/msys/1.0.11/etc" directory to point to the directory where I installed mingw. Both gems then installed correctly.
Execute Below command and its works
gem install hpricot --platform=mswin32
Hmm... After doing a "bundle install", I did:
gem install hpricot --platform=mswin32
It says it installed the gem successfully, but now when I try and run rake I get:
Could not find gem 'hpricot (>= 0, runtime)' in any of the gem sources.
Try running bundle install
.
Devkit installed too...