you can use rubysspi gem for the same.
install this gem first by downloading it from the net
copy rspa.rb from the gem folder to your mswin32 folder(check readme of the gem)
set ENV variables (PROXY_HOST)
run the plugin install command with
ruby -rspa script/install …
Please let me know if you face any problems