X-Spam-Check-By: sourceware.org Message-ID: <5004c9f90705160031k44b30455m3f9e22e62713cc62@mail.gmail.com> Date: Wed, 16 May 2007 00:31:46 -0700 From: "Ben Atkin" Reply-To: ben AT benatkin DOT com To: cygwin AT cygwin DOT com Subject: Re: ruby for cygwin comes without "gem" command In-Reply-To: <387E9FC1619C0849BA8934938037E54F05279C@sv-muc-004.venyon-mail.local> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <387E9FC1619C0849BA8934938037E54F05279C AT sv-muc-004 DOT venyon-mail DOT local> X-Google-Sender-Auth: fe0516e2c5ee68ba X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com As Shankar Unni says, don't try to install gem for cygwin using the gem that comes with the Ruby One-Click Installer for Windows. Instead, get the tarball and install it using the included script. Since rubygems is pure ruby, you don't have to worry about having a compiler installed. It should just work with what the default cygwin install plus ruby and its dependencies. To install it, do the following steps: 1. Download tarball from http://rubyforge.org/frs/?group_id=126 (currently rubygems-0.9.3.tgz) 2. Unpack the tarball 3. Go into the directory containing setup.rb 4. Type ruby setup.rb install -- Ben On 5/14/07, Ronald Fischer wrote: > I installed ruby for cygwin, using the cygwin setup program: > > $ ruby --version > ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-cygwin] > > > To my surprise, this does not install the "gem" command, which is > normally part of Ruby 1.8.5: > > $ which ruby > /usr/bin/ruby > $ ls /usr/bin/gem > ls: cannot access /usr/bin/gem: No such file or directory > > > How can I get the gem command for cygwin? Or can I simply use the "gem" > command > from the normal (Windows-) installation of Ruby? > > Ronald > -- > Ronald Fischer > Phone: +49-89-452133-162 > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Ben Atkin ben AT benatkin DOT com http://www.benatkin.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/