The solution is online: http://jurassicgeek.blogspot.com/2007/03/ nettoyage-de-printemps.html
You just need to install it (rubygems) manually:

cd ~/Desktop
curl http://rubyforge.org/frs/download.php/16452/rubygems-0.9.1.tgz
gunzip rubygems-0.9.1.tgz
tar xvf rubygems-0.9.1.tar
rm rubygems-0.9.1.tar
cd rubygems-0.9.1
sudo ruby setup.rb

To upgrade to 0.9.2
sudo gem update --system

Then I start again the installtion of rb-rails ant it works.

// Jph

Le 19 avr. 07 à 11:47, Jean-Philippe Humbert a écrit :


Hi,

I have the following problem:

sudo port -f install rb-activesupport
Password:
--->  Staging rb-activesupport into destroot
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

Error: Status 1 encountered during processing.

Should I open a ticket?
I have tried to install rb-rails but it fails.
I use macports 1.430

Thanks
// Jean-Philippe Humbert

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to