[MacPorts] #24240: rb-rubygems needs a zlib ruby module

MacPorts noreply at macports.org
Fri Mar 26 23:15:40 PDT 2010


#24240: rb-rubygems needs a zlib ruby module
------------------------------+---------------------------------------------
 Reporter:  cdavis@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.8.2                                
 Keywords:                    |        Port:  ruby rb-rubygems                     
------------------------------+---------------------------------------------
 There's no zlib module included with ruby 1.8.7, and yet rubygems expects
 it to be there. Without the zlib ruby module, rubygems will not work.

 For example, running:
 {{{
  gem list
 }}}
 produces this:
 {{{
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
 `gem_original_require': no such file to load -- zlib (LoadError)
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
 `require'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/spec_fetcher.rb:1
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
 `gem_original_require'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
 `require'
                 from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/commands/query_command.rb:3
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
 `gem_original_require'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
 `require'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/commands/list_command.rb:2
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
 `gem_original_require'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
 `require'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command_manager.rb:167:in
 `load_and_instantiate'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command_manager.rb:88:in `[]'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command_manager.rb:144:in
 `find_command'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command_manager.rb:131:in
 `process_args'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/command_manager.rb:102:in
 `run'
         from
 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/gem_runner.rb:58:in `run'
         from /usr/local/bin/gem:21
 }}}

 on my system. Is there something I'm missing, or should there be an 'rb-
 zlib' port?

 I run Mac OS X 10.6.2.

-- 
Ticket URL: <http://trac.macports.org/ticket/24240>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list