[macruby-changes] [2945] MacRuby/trunk/lib/rubygems/commands/update_command.rb

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 2 18:41:40 PST 2009


Revision: 2945
          http://trac.macosforge.org/projects/ruby/changeset/2945
Author:   lsansonetti at apple.com
Date:     2009-11-02 18:41:40 -0800 (Mon, 02 Nov 2009)
Log Message:
-----------
disable 'update --system' command for now

Modified Paths:
--------------
    MacRuby/trunk/lib/rubygems/commands/update_command.rb

Modified: MacRuby/trunk/lib/rubygems/commands/update_command.rb
===================================================================
--- MacRuby/trunk/lib/rubygems/commands/update_command.rb	2009-11-03 02:38:22 UTC (rev 2944)
+++ MacRuby/trunk/lib/rubygems/commands/update_command.rb	2009-11-03 02:41:40 UTC (rev 2945)
@@ -48,6 +48,9 @@
     hig = {}
 
     if options[:system] then
+      # XXX We can't allow people to self-update RubyGems at this point.
+      raise "This version of RubyGems cannot be self-updated."
+
       say "Updating RubyGems"
 
       unless options[:args].empty? then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091102/6858da3b/attachment.html>


More information about the macruby-changes mailing list