[Rubygems-developers] On cygwin -- update --system gives error.

Hugh Sasse hgs at dmu.ac.uk
Thu Feb 8 04:43:16 EST 2007


On Wed, 7 Feb 2007, Eric Hodel wrote:

> On Feb 7, 2007, at 01:54, Hugh Sasse wrote:
> > Installing the latest Rubygems gem on cygwin just gave me:
> >
> > install timer.rb /usr/lib/ruby/site_ruby/1.8/rubygems
> > install user_interaction.rb /usr/lib/ruby/site_ruby/1.8/rubygems
> > install validator.rb /usr/lib/ruby/site_ruby/1.8/rubygems
> > install version.rb /usr/lib/ruby/site_ruby/1.8/rubygems
> > <--- lib/rubygems
> > <--- lib
> >   Successfully built RubyGem
> >   Name: sources
> >   Version: 0.0.1
> >   File: sources-0.0.1.gem
> > hook /usr/lib/ruby/gems/1.8/gems/rubygems-update-0.9.2/./post- 
> > install.rb failed:
> >
> > undefined method `post_install_message' for #<Gem::Specification: 
> > 0x7fe88a30>
> > Try 'ruby setup.rb --help' for detailed usage.
> > RubyGems system software updated
> 
> Please run:
> 
> ruby -d setup.rb

I don't have the setup.rb for this without unpacking the gem.
I've now re-installed from the zipfile, so maybe this is moot.
> 
> > hgs at Q2P14HGS ~
> >
> > I'm not sure which version I was updating from, and have forgotten  
> > how to
> > find out the versions I have.  Is this worth exploring further, or  
> > shall I
> > just leave it?
> 
> gem env

As I thought, that just tells me what I have rather than what I had.

hgs at Q2P14HGS ~
$ gem env
RubyGems Environment:
  - VERSION: 0.9.2 (0.9.2)
  - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
  - GEM PATH:
     - /usr/lib/ruby/gems/1.8
  - REMOTE SOURCES:
     - http://gems.rubyforge.org

hgs at Q2P14HGS ~
$
        Hugh


More information about the Rubygems-developers mailing list