This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ruby for cygwin comes without "gem" command

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
(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
$ 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 Fischer <>
Phone: +49-89-452133-162

-- Unsubscribe info: Problem reports: Documentation: FAQ:

Ben Atkin

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]