After downloading the latest sources of ruby-gems 8.10 and
> ruby setup.rb all
I ran into errors in post_install.rb. I`ve located the position in code and reproduced the error in irb:
Any ideas ?
btw. running SuSE 9.3
thanks,
Andreas
···
-------
def install_sources
$: << "lib"
require 'rubygems'
Gem::manage_gems
Dir.chdir("pkgs/sources") do
load "sources.gemspec"
spec = Gem.sources_spec
gem_file = Gem::Builder.new(spec).build
Gem::Installer.new(gem_file).install(true, Gem.dir, false)
end
end
-------
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> Gem::manage_gems
LoadError: No such file to load -- zlib
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:9
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/builder.rb:1
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in `manage_gems'
from (irb):2