How to install rb-rubygems when using Ruby 1.8.6

dometz dominic_metzger at yahoo.com
Mon Nov 17 09:00:54 PST 2008


Hi 

I am using MacPorts v1.600 and Ruby 1.8.6. I would like to install
rb-rubygems using MacPorts aswell. Unfortunately, I get the following error
message (see below) when trying to do so. How can I install rb-rubygems
using MacPorts without having to upgrade Ruby from version 1.8.6 to 1.8.7? 

thanks 

dominic 


 sudo port -v install rb-rubygems 
--->  Staging rb-rubygems 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) 
To use --vendor you need ruby >= 1.8.7, current 1.8.6.114 
Error: Target org.macports.destroot returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/rubygems-1.3.0"
&& /opt/local/bin/ruby setup.rb install --prefix=/opt/local
--destdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot
--vendor
DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubygems/work/destroot
" returned error 1 
Command output: To use --vendor you need ruby >= 1.8.7, current 1.8.6.114 

Warning: the following items did not execute (for rb-rubygems):
org.macports.activate org.macports.destroot org.macports.install 
Error: Status 1 encountered during processing. 


-- 
View this message in context: http://www.nabble.com/How-to-install-rb-rubygems-when-using-Ruby-1.8.6-tp20543415p20543415.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.



More information about the macports-users mailing list