problems with port that use ruby gem to install.

Kenneth Rogers kenneth.rogers at gmail.com
Thu May 3 19:22:58 PDT 2007


It started with rb-activesupport, but seems to happen with every port
that I have in ruby/ that uses gem as an installer.
$ sudo port -v install rb-activesupport
--->  Staging rb-activesupport into destroot
. missing (directory not created: File exists)
./Applications missing (directory not created: File exists)
./Developer missing (directory not created: File exists)
./Library missing (directory not created: File exists)
/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: Target com.apple.destroot returned: shell command
"/opt/local/bin/gem install --local --force --install-dir
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_ruby_rb-activesupport/work/destroot/opt/local/lib/ruby/gems/1.8
/opt/local/var/db/dports/distfiles/ruby/activesupport-1.3.1" 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

Warning: the following items did not execute (for rb-activesupport):
com.apple.activate com.apple.destroot com.apple.install
Error: Status 1 encountered during processing.


trying to use /opt/local/bin/gem myself give similar errors.

I'm not very familar with how rubygems works, so I don't know that I
can debug this on my own right now.  Any ideas?

KR
-- 
"Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO Australia)



More information about the macports-users mailing list