Re: ruby for cygwin comes without gem command

2007-05-16 Thread Ben Atkin

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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
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/



Re: ruby for cygwin comes without gem command

2007-05-15 Thread Shankar Unni

Corinna Vinschen wrote:


gem is not part of the ruby standard package.


And don't try to install a native gem from the main ruby site and 
download gems using that, or you'll end up with a mishmash of cygwin and 
native libraries for ruby. Been there, done that :-).



--
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/



ruby for cygwin comes without gem command

2007-05-14 Thread Ronald Fischer
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 [EMAIL PROTECTED]
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/



Re: ruby for cygwin comes without gem command

2007-05-14 Thread Corinna Vinschen
On May 14 13:02, 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:

gem is not part of the ruby standard package.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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/