[Rubygems-developers] PATCH: fix uninstall bug

Gavin Sinclair gsinclair at soyabean.com.au
Mon Apr 12 12:03:49 EDT 2004

This simple patch fixes a bug I alluded to earlier.  Who wants to see
this output when trying to uninstall a gem?

/usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:196:in `gets': No such file or directory - -
u (Errno::ENOENT)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:196:in `uninstall'
        from /usr/local/bin/gem:439:in `uninstall'
        from /usr/local/bin/gem:116:in `run'
        from /usr/local/bin/gem:679

It also removes an unneeded 'puts'.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-uninstaller.
Type: application/octet-stream
Size: 1165 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/rubygems-developers/attachments/20040412/9af8b412/patch-uninstaller.obj

More information about the Rubygems-developers mailing list