[Rubygems-developers] [PATCH] fix --alien

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


This must have been broken at the time gems were moved to their own subdir.

diff -r -u rubygems/lib/rubygems/validator.rb rubygems.new/lib/rubygems/validator.rb
--- rubygems/lib/rubygems/validator.rb  2004-04-01 02:13:20.000000000 +0200
+++ rubygems.new/lib/rubygems/validator.rb      2004-04-03 21:24:48.000000000 +0200
@@ -81,7 +81,7 @@
         errors[gem_name] ||= []
         gem_path = File.join(Gem.dir, "cache", gem_spec.full_name) + ".gem"
         spec_path = File.join(Gem.dir, "specifications", gem_spec.full_name) + ".gemspec"
-        gem_directory = File.join(Gem.dir, gem_spec.full_name)
+        gem_directory = File.join(Gem.dir, "gems", gem_spec.full_name)

         installed_files = find_files_for_gem(gem_directory)
         puts gem_directory


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

"You, sir, are nothing but a pathetically lame salesdroid!
I fart in your general direction!"
	-- Randseed on #Linux


More information about the Rubygems-developers mailing list