From: Stefano Crocco Date: 2007-09-03T07:32:03+09:00 Subject: Re: How to find and install rubygems on Cygwin Alle luned狸 3 settembre 2007, Peter Vanderhaden ha scritto: > I'm a newbie as far as Ruby goes, and I want to install rubygems in > Cygwin. I have Ruby installed, but I don't know what I need to install > gems. This message shows that it can't find, or I don't have the files > needed: > $ gem install -r net-ssh > /cygdrive/c/ruby/bin/gem:9:in `require': no such file to load -- > rubygems (LoadE > rror) > from /cygdrive/c/ruby/bin/gem:9 > > Can anyone tell me what I need to download, and where I can it? > Thanks in advance.... I don't use Cygwin (or windows), so my instructions may be inaccurate. gem is a command provided by rubygems, so you can't use it to install rubygems itself. To do this, instead, you should go to the rubygems project page on rubyforge (http://rubyforge.org/projects/rubygems/) and download it. After following the 'download' link, you'll be able to choose between a gzip and a zip file (the other file, rubygems-update-0.9.4.gem can only be used if you already have rubygems installed). After downloading the file, uncompress it, cd into the directory you just created and issue the command ruby setup.rb This should be enough to install it. I hope this helps Stefano