[Rubygems-developers] [PATCH] stuff I needed in order to install rubygems

Mauricio Fernández batsman.geo at yahoo.com
Sat Apr 3 21:19:43 EST 2004


There's been some breakage lately, and ruby install.rb failed on a fresh checkout.

diff -r -u rubygems/install.rb rubygems.new/install.rb
--- rubygems/install.rb 2004-03-29 15:31:37.000000000 +0200
+++ rubygems.new/install.rb     2004-04-03 21:09:12.000000000 +0200
@@ -93,7 +93,8 @@
     load("sources.gemspec")
     spec = Gem.sources_spec
     Gem::Builder.new(spec).build
-    Gem::Installer.new(spec.name + "-" + spec.version.to_s + ".gem").install(true, Gem.dir)
+    Gem::Installer.new(spec.name + "-" + Gem::Platform::RUBY + "-" +
+                       spec.version.to_s + ".gem").install(true, Gem.dir)
   Dir.chdir("../..")
 end
diff -r -u rubygems/lib/rubygems/specification.rb rubygems.new/lib/rubygems/specification.rb
--- rubygems/lib/rubygems/specification.rb      2004-04-03 16:50:37.000000000 +0200
+++ rubygems.new/lib/rubygems/specification.rb  2004-04-03 20:43:30.000000000 +0200
@@ -44,7 +44,7 @@
     ##
     # These attributes are required
     #
-    required_attribute :rubygems_version, :name, :platform, :date, :summary, :require_paths, :version
+    required_attribute :name, :platform, :date, :summary, :require_paths, :version

     ##
     # These attributes are optional


I haven't seen the rubygems_version field anywhere, it seems to be a left-over from
the first developments during Rubyconf.

-- 
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

* Jes wonders why so many people in here uses fooZZZZZ and foo_sleeping nicks
<peter> Jes: Because they are sleeping?
	-- Seen on #Linux


More information about the Rubygems-developers mailing list