Any wisdom on this failure? bash-3.2# port install rb-rails ---> Staging rb-activesupport into destroot Error: Target org.macports.destroot returned: shell command "/opt/local/bin/gem install --local --force --install-dir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-activesupport/work/destroot/opt/local/lib/ruby/gems/1.8 /opt/local/var/macports/distfiles/ruby/activesupport-1.4.2" returned error 1 Command output: /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- sources (LoadError) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/source_info_cache.rb:6 from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/remote_installer.rb:12 from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:112:in `manage_gems' from /opt/local/bin/gem:10 Error: The following dependencies failed to build: rb-actionmailer rb-actionpack rb-activesupport rb-actionwebservice rb-activerecord rb-rake Error: Status 1 encountered during processing.
I think I ran into the same issue. For some reason, something was wrong with my gem port. I think this ended up working. sudo port selfupdate sudo port uninstall rb-rubygems sudo port install rb-rubygems On 11/30/07, Jay Chandler <lists@sequestered.net> wrote:
Any wisdom on this failure?
bash-3.2# port install rb-rails ---> Staging rb-activesupport into destroot Error: Target org.macports.destroot returned: shell command "/opt/local/bin/gem install --local --force --install-dir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-activesupport/work/destroot/opt/local/lib/ruby/gems/1.8 /opt/local/var/macports/distfiles/ruby/activesupport-1.4.2" returned error 1 Command output: /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- sources (LoadError) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/source_info_cache.rb:6 from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/remote_installer.rb:12 from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:112:in `manage_gems' from /opt/local/bin/gem:10
Error: The following dependencies failed to build: rb-actionmailer rb-actionpack rb-activesupport rb-actionwebservice rb-activerecord rb-rake Error: Status 1 encountered during processing.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
On Nov 30, 2007, at 2:16 PM, Roger Hoover wrote:
I think I ran into the same issue. For some reason, something was wrong with my gem port.
I've noticed that sometimes having RUBYOPT set (or unset) can trigger this problem. (I have RUBYOPT set to "-rubygems" in my .bashrc.) I just did a new MP installation the other day, and found that I had to "export RUBYOPT=" (to set it to an empty string), and try the "port install rb-rubygems" a couple of times before it was successful. --John
participants (3)
-
Jay Chandler
-
John Labovitz
-
Roger Hoover