rb-rails broken?

Ryan Schmidt ryandesign at macports.org
Sat Apr 28 12:12:03 PDT 2007


On Apr 28, 2007, at 13:44, Jason Stelzer wrote:

> Am I doing something wrong with this command? I'm using a current  
> port version. Why is it even looking at /Applications, etc?  
> Shouldn't it just install things to /opt/local?
>
>  port -v
> MacPorts 1.430
>
>
> sudo port -v install rb-rails
> --->  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)

It is not looking at /Applications. It is looking at ./Applications,  
which is relative to the destroot directory, which for you is /opt/ 
local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_ruby_rb-activesupport/work/destroot.

> /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: The following dependencies failed to build: rb-actionmailer  
> rb-actionpack rb-activesupport rb-actionwebservice rb-activerecord  
> rb-rake
> Error: Status 1 encountered during processing.

These are the error messages you need to be concerned with. I don't  
use Ruby so I probably can't help you further. But try searching  
Google for "gem_original_require no such file to load" and see if you  
can find an answer.





More information about the macports-users mailing list