Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#4137 closed defect (worksforme)

rubygems doesn't install

Reported by: joelmichael@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

---> Fetching rb-rubygems ---> Attempting to fetch rubygems-0.8.10.tar.gz from http://rubyforge.org/frs/download.php/3700/ ---> Verifying checksum(s) for rb-rubygems ---> Extracting rb-rubygems ---> Configuring rb-rubygems ---> Building rb-rubygems with target setup ---> Staging rb-rubygems into destroot Error: Target com.apple.destroot returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/rubygems-0.8.10" && /opt/local/bin/ruby -rvendor-specific setup.rb install" returned error 1 Command output: install gem_commands.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install gem_runner.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install installer.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install loadpath_manager.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install old_format.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install open-uri.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install package.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install remote_installer.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install rubygems_version.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install source_index.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install specification.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install timer.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install user_interaction.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install validator.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems install version.rb /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/vendor_ruby/1.8/rubygems <--- lib/rubygems <--- lib hook /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/rubygems-0.8.10/./post-install.rb failed: You don't have write permissions into the /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_ruby_rb- rubygems/work/destroot/opt/local/lib/ruby/gems/1.8 directory. Try 'ruby setup.rb --help' for detailed usage.

As of RubyGems 0.8.0, library stubs are no longer needed. Searching $LOAD_PATH for stubs to optionally delete (may take a while)... ...done. No library stubs found.

Successfully built RubyGem Name: sources Version: 0.0.1 File: sources-0.0.1.gem

Attachments (1)

rb-install-debug-output.txt (61.6 KB) - added by justin@… 19 years ago.
Debug output

Download all attachments as: .zip

Change History (5)

comment:1 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to rshaw@…

assining to maintainer

comment:2 Changed 19 years ago by rshaw@…

Owner: changed from rshaw@… to darwinports-bugs@…

No longer maintaining these ports.

comment:3 Changed 19 years ago by pguyot (Paul Guyot)

Resolution: worksforme
Status: newclosed

You need to run port with sudo (sudo port install rb-rubygems).

If it is what you did, please:

  • reopen the bug
  • run sudo port clean rb-rubygems && sudo port install rb-rubygems -dv
  • post the output here.

Changed 19 years ago by justin@…

Attachment: rb-install-debug-output.txt added

Debug output

comment:4 Changed 19 years ago by justin@…

I had the same problem, and have run sudo port clean rb-rubygems && sudo port install rb-rubygems -dv and attached the result. I now find that the gem command is working. I can't reopen the bug - the option is not available on the page.

Note: See TracTickets for help on using tickets.