Installing Rubygem on Cygwin
- Download the rubygem
tgz
from RubyForge, - Type the following commands:
$ cd /tmp $ tar xvzf rubygems-1.3.5.tgz $ cd rubygems-1.3.5 $ ruby setup.rb install $ gem update --system
If you’re behind a proxy, you can run gem
by setting the following environment variables:
export HTTP_PROXY=http://x.x.x.x:80 export HTTP_PROXY_USER=bozo export HTTP_PROXY_PASS=pipo