Revision
2945
Author
lsansonetti@apple.com
Date
2009-11-02 18:41:40 -0800 (Mon, 02 Nov 2009)

Log Message

disable 'update --system' command for now

Modified Paths

Diff

Modified: MacRuby/trunk/lib/rubygems/commands/update_command.rb (2944 => 2945)


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