Hey all, i've re-installed ruby, rb-cocoa and rugemes this afternoon. then, i get Ruby_1.8.5_1, rb-cocoa 0.4.3d2_0 and rb-rubygems 0.9.0_0 it seems rubygems whasn'y really installed rather unpacked from previous install. now when trying just : $ gem list i get an error : /opt/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:52:in `initialize': uninitialized constant Gem::CommandManager::HelpCommand (NameError) from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ cmd_manager.rb:46:in `new' from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ cmd_manager.rb:46:in `instance' from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ gem_runner.rb:25:in `run' from /opt/local/bin/gem:23 althought i've setup the following env vars : export RUBYOPT=rubygems export GEM_HOME=/opt/local/lib/ruby/gems/1.8 export RUBYLIB=/opt/local/lib/ruby/:/opt/local/lib/ruby/site_ruby/1.8 export RUBYGEMS=/opt/local/lib/ruby/site_ruby/1.8 what could i do in order to uninstall the failing rubygems trashing even the cached packaged or does exist a workaround ? best, Yvon
On Nov 14, 2006, at 11:52 AM, Une Bévue wrote:
it seems rubygems whasn'y really installed rather unpacked from previous install.
what could i do in order to uninstall the failing rubygems trashing even the cached packaged or does exist a workaround ?
port -f uninstall rb-rubygems port clean --all rb-rubygems port install rb-rubygems -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
Le 14 nov. 06 à 18:41, Daniel J. Luke a écrit :
port -f uninstall rb-rubygems port clean --all rb-rubygems
thanks a lot that is OK.
port install rb-rubygems
now i'm unable to re-install back rb-rubygems ))) because i get :
~%> sudo port install rb-rubygems ---> Fetching rb-rubygems ---> Attempting to fetch rubygems-0.9.0.tgz from http:// rubyforge.org/frs/download.php/11289/ ---> 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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_ruby_rb-rubygems/work/rubygems-0.9.0" && /opt/local/bin/ruby -rvendor-specific setup.rb install" returned error 1 Command output: install incremental_fetcher.rb /opt/local/var/db/ dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_ruby_rb-rubygems/work/destroot/opt/local/lib/ruby/ vendor_ruby/1.8/rubygems install security.rb /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.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/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_ruby_rb-rubygems/work/rubygems-0.9.0/./post-install.rb failed: undefined method `full_name' for nil:NilClass 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
Error: Status 1 encountered during processing.
~%>
and port is hanging afterwards... may be i should, as for rb-rubygems clean force ruby and ruby cocoa ??? Yvon
participants (2)
-
Daniel J. Luke
-
Une Bévue