[MacPorts] #15299: rb-rubygems installation fails

MacPorts noreply at macports.org
Thu May 15 02:17:50 PDT 2008


#15299: rb-rubygems installation fails
---------------------------------+------------------------------------------
 Reporter:  nipponese at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect               |      Status:  new                                  
 Priority:  High                 |   Milestone:                                       
Component:  ports                |     Version:  1.6.0                                
 Keywords:                       |  
---------------------------------+------------------------------------------
 After installing ruby, I can't install rb-rubygems. This is the error
 returned everytime.
 {{{
 $ sudo port install rb-rubygems
 Password:
 --->  Staging rb-rubygems into destroot
 Error: Target org.macports.destroot returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-rubygems/work/rubygems-1.1.1" &&
 /opt/local/bin/ruby setup.rb install
 --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-rubygems/work/destroot/opt/local
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-rubygems/work/destroot " returned error 1
 Command output: install -c -m 0644 rubygems/specification.rb
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-
 rubygems/work/destroot/opt/local/lib/rubygems/specification.rb
 install -c -m 0644 rubygems/timer.rb
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-
 rubygems/work/destroot/opt/local/lib/rubygems/timer.rb
 install -c -m 0644 rubygems/uninstaller.rb
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-
 rubygems/work/destroot/opt/local/lib/rubygems/uninstaller.rb
 install -c -m 0644 rubygems/user_interaction.rb
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-
 rubygems/work/destroot/opt/local/lib/rubygems/user_interaction.rb
 install -c -m 0644 rubygems/validator.rb
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-
 rubygems/work/destroot/opt/local/lib/rubygems/validator.rb
 install -c -m 0644 rubygems/version.rb
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-
 rubygems/work/destroot/opt/local/lib/rubygems/version.rb
 install -c -m 0644 rubygems/version_option.rb
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-
 rubygems/work/destroot/opt/local/lib/rubygems/version_option.rb
 install -c -m 0644 rubygems.rb
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-
 rubygems/work/destroot/opt/local/lib/rubygems.rb
 install -c -m 0644 ubygems.rb
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/lib/ubygems.rb
 cp gem /tmp/gem
 install -c -m 0755 /tmp/gem
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-rubygems/work/destroot/opt/local/bin/gem
 rm /tmp/gem
 ./lib/rubygems/custom_require.rb:27:in `gem_original_require': no such
 file to load -- socket (LoadError)
         from ./lib/rubygems/custom_require.rb:27:in `require'
         from /opt/local/lib/ruby/1.8/net/protocol.rb:21
         from ./lib/rubygems/custom_require.rb:27:in `gem_original_require'
         from ./lib/rubygems/custom_require.rb:27:in `require'
         from /opt/local/lib/ruby/1.8/net/http.rb:28
         from ./lib/rubygems/custom_require.rb:27:in `gem_original_require'
         from ./lib/rubygems/custom_require.rb:27:in `require'
         from ./lib/rubygems/remote_fetcher.rb:1
         from ./lib/rubygems/custom_require.rb:27:in `gem_original_require'
         from ./lib/rubygems/custom_require.rb:27:in `require'
         from ./lib/rubygems/source_info_cache_entry.rb:3
         from ./lib/rubygems/custom_require.rb:27:in `gem_original_require'
         from ./lib/rubygems/custom_require.rb:27:in `require'
         from ./lib/rubygems/source_info_cache.rb:4
         from ./lib/rubygems/custom_require.rb:27:in `gem_original_require'
         from ./lib/rubygems/custom_require.rb:27:in `require'
         from setup.rb:206

 Error: Status 1 encountered during processing.

 }}}

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


More information about the macports-tickets mailing list