From: Roger Pack Date: 2009-02-15T03:02:54+09:00 Subject: [ruby-core:22087] Re: [Bug #1157] missing zlib.rb? yeah 1.9 should probably complain more when there's no zlib or no openssl, since it's basically a partial install. If it's any help, there's been some work on a pure ruby zlib http://djberg96.livejournal.com/161853.html It might even be worth it to add it to core as a backup when no zlib is installed. Cheers! -=r On Fri, Feb 13, 2009 at 11:40 PM, Fred Obermann wrote: > Bug #1157: missing zlib.rb? > http://redmine.ruby-lang.org/issues/show/1157 > > Author: Fred Obermann > Status: Open, Priority: Immediate > ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux] > > I just installed 1.9.1 onto Mandriva 2009 (Linux version 2.6.27.10-desktop-1mnb (qateam@titan.mandriva.com) (gcc version 4.3.2 (GCC) )) > Ran ./configure > Ran make > Ran: gem install rails > > And this is what I got: > > [root@tango ruby-1.9.1-p0]# gem install rails > /usr/local/lib/ruby/1.9.1/rubygems/package.rb:10:in `require': no such file to load -- zlib (LoadError) > from /usr/local/lib/ruby/1.9.1/rubygems/package.rb:10:in `' > from /usr/local/lib/ruby/1.9.1/rubygems/format.rb:9:in `require' > from /usr/local/lib/ruby/1.9.1/rubygems/format.rb:9:in `' > from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:11:in `require' > from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:11:in `' > from /usr/local/lib/ruby/1.9.1/rubygems/dependency_installer.rb:3:in `require' > from /usr/local/lib/ruby/1.9.1/rubygems/dependency_installer.rb:3:in `' > from /usr/local/lib/ruby/1.9.1/rubygems/commands/install_command.rb:4:in `require' > from /usr/local/lib/ruby/1.9.1/rubygems/commands/install_command.rb:4:in `' > from /usr/local/lib/ruby/1.9.1/rubygems/command_manager.rb:140:in `require' > from /usr/local/lib/ruby/1.9.1/rubygems/command_manager.rb:140:in `rescue in load_and_instantiate' > from /usr/local/lib/ruby/1.9.1/rubygems/command_manager.rb:132:in `load_and_instantiate' > from /usr/local/lib/ruby/1.9.1/rubygems/command_manager.rb:65:in `[]' > from /usr/local/lib/ruby/1.9.1/rubygems/command_manager.rb:118:in `find_command' > from /usr/local/lib/ruby/1.9.1/rubygems/command_manager.rb:104:in `process_args' > from /usr/local/lib/ruby/1.9.1/rubygems/command_manager.rb:75:in `run' > from /usr/local/lib/ruby/1.9.1/rubygems/gem_runner.rb:39:in `run' > from /usr/local/bin/gem:24:in `
' > > > ---------------------------------------- > http://redmine.ruby-lang.org > >