From: Justin Bailey Date: 2006-07-18T02:15:39+09:00 Subject: [ANN] RubySSPI 0.0.2 - Enabling Windows NTLM/Negotiate proxy authentication ------=_Part_8467_13600665.1153156535002 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline = What's New A small release for my library, which now provides a file that can be copied into site_ruby and used to enable proxy authentication from the command line for any ruby script. = Where to find it Hosted on rubyforge: http://rubyforge.org/projects/rubysspi/ Or via gem install: gem install rubysspi = What is it Previously, if you had a proxy that required NTLM authentication you needed to direct all your ruby calls to a local proxy such as the APS NTLM proxy ( http://ntlmaps.sourceforge.net/). This required you to enter your password into a file or on start up. WIth this gem, ruby libraries such as open-uri and net/http can directly access internet sites and you never have to enter your username or password into any configuration files. = How to use The file provided in this release is most useful for rubygems. To use (assuming your rubygems is not working yet): 1) Download the gem via rubyforge: http://rubyforge.org/frs/download.php/11657/rubysspi-0.0.1-i386-mswin32.gem 2) Install 3) Copy spa.rb from the rubysspi gem directory to your site_ruby\1.8 directory 3) set your http_proxy environment variable (e.g. http://proxy.corp.com:8080) 4) Run rubygems: ruby -rspa 'C:\Program Files\ruby\bin\gem' list --remote rubysspi The adventerous can modify their gem.bat and gem.cmd files to include this library always, and then run the familiar gem commands directly. Commants and feedback welcome! Justin ------=_Part_8467_13600665.1153156535002--