I used gems to install rails on win2K, but not able to do so behind a
proxy server. Even using the -p option does not help.

Only now I realise that by adding the 'HTTP_PROXY' environment variable
in windows, the problem is solved! Just thought of sharing this tip
here, as my previous google attempt did not seem to find this...