For those who don't have the dir.c fix:


--- loadpath_manager.rb.orig 2004-11-28 22:34:43.000000000 +0100 +++ loadpath_manager.rb 2004-11-28 22:38:19.000000000 +0100 @@ -60,13 +60,13 @@ end def self.search_loadpath(file) - result = Dir.glob("{#{($LOAD_PATH).join(',')}}/#{file}{,.rb,.so}").delete_if {|f| File.directory?(f)}.size > 0 + result = Dir.glob("{#{($LOAD_PATH).join(',')}}/#{file}{,.rb,.so}").map{|x| Marshal.load(Marshal.dump(x))}.delete_if {|f| File.directory?(f)}.size > 0 result end def self.search_gempath(file) build_paths unless @paths - fullname = Dir.glob("{#{(@paths).join(',')}}/#{file}{,.rb,.so}").delete_if {|f| File.directory?(f)}.first + fullname = Dir.glob("{#{(@paths).join(',')}}/#{file}{,.rb,.so}").map{|x| Marshal.load(Marshal.dump(x))}.delete_if {|f| File.directory?(f)}.first return false unless fullname @specs.each do |spec| if fullname.include?("/#{spec.full_name}/")
-- Hassle-free packages for Ruby? RPA is available from http://www.rubyarchive.org/