Ruby, Windows: make is not recognized as an internal or external command

I was trying to install hpricot on my windows computer. I had done this before, but this time I was getting the following error:

" make is not recognized as an internal or external command"

The solution for this problem was to use the following command:

gem install (gemname) --platform=mswin32

I found that in stackoverflow, in an answer given by freek. Thanks!
http://stackoverflow.com/questions/1718500/installing-hpricot-on-ruby-1-...