From: Ferhat A. <fer...@ya...> - 2007-09-24 07:39:16
|
if you prefer to use /opt/local/bin/ruby then you have to add this to your = path before /usr/bin/ruby.=0A=0Aexport PATH=3D/opt/local/bin:$PATH=0A=0Aan= d then start xcode.=0A=0AAlternatively you can try to remove the bundle /us= r//lib/ruby/site_ruby/1.8/i686-darwin8.10.1/rubycocoa.bundle and try to rei= nstall rubycocoa.=0A=0A*Ferhat=0A=0A----- Original Message ----=0AFrom: Mic= hael Steinfeld <mik...@gm...>=0ATo: rub...@li...urcefor= ge.net=0ASent: Monday, September 24, 2007 3:06:11 AM=0ASubject: [Rubycocoa-= talk] Install fails and I am confused=0A=0Ahi=0A=0AI tried installing from = the dmg first, no luck.. here is the log=0A=0ASep 23 20:56:54 Tulku : run p= ostflight script for RubyCocoa=0ASep 23 20:56:54 Tulku : postflight[13704]:= ##########################=0ASep 23 20:56:54 Tulku : postflight[13704]: po= stflight process failed!=0ASep 23 20:56:54 Tulku : postflight[13704]: #####= #####################=0ASep 23 20:56:54 Tulku : postflight[13704]: Error: #= <Errno::EEXIST:=0AFile exists - /usr/lib/libruby-with-thread-hooks.1.dylib = or=0A/usr/lib/libruby.1.dylib>=0ASep 23 20:56:54 Tulku : postflight[13704]:= =0ASep 23 20:56:54 Tulku : postflight[13704]: old extlib exists.=0Aremove:/= usr//lib/ruby/site_ruby/1.8/i686-darwin8.10.1/rubycocoa.bundle=0ASep 23 20:= 56:54 Tulku : postflight[13704]: copy=0A/usr/lib/ruby/site_ruby/1.8/univers= al-darwin8.0/rubycocoa.bundle to=0A/usr//lib/ruby/site_ruby/1.8/i686-darwin= 8.10.1/rubycocoa.bundle=0ASep 23 20:56:54 Tulku : postflight[13704]: Overwr= iting=0A/usr/lib/libruby.1.dylib with=0A/usr/lib/libruby-with-thread-hooks.= 1.dylib=0ASep 23 20:56:54 Tulku : postflight[13704]:=0ASep 23 20:56:54 Tulk= u : Install failed: The following install step=0Afailed: run postflight scr= ipt for RubyCocoa=0ASep 23 20:56:54 Tulku : Private/Total =3D (8.6MB, 67.1M= B), Heap/Total =3D=0A(2.1MB, 16.7MB), Regions(malloc, private) =3D (29, 3= 8)=0ASep 23 20:56:54 Tulku : It took 17.308603 seconds to unsuccessfully=0A= install "RubyCocoa" (1 pkg(s))=0ASep 23 20:56:54 Tulku : It took 1.= 003704 seconds to=0AConfiguring volume "Tulku" (dm prepare*disk)=0ASep 23 2= 0:56:54 Tulku : It took 16.022288 seconds to Install=0ARubyCocoa: 2= 2 elements=0ASep 23 20:56:54 Tulku : It took 16.020269 seco= nds to=0Aunsuccessfully Install package RubyCocoa=0ASep 23 20:56:54 Tulku := It took 1.212703=0Aseconds to Build install plan (= & redirected paths)=0ASep 23 20:56:54 Tulku : It to= ok 0.027071=0Aseconds to Evaluating versions of bundles=0ASep 23 20:56:54 T= ulku : It took 0.391311=0Aseconds to Determing obso= lete files=0ASep 23 20:56:54 Tulku : It took 0.1716= 88=0Aseconds to Assembling temporary receipt=0ASep 23 20:56:54 Tulku : = It took 0.472183=0Aseconds to Collect path info (ATS, S= ec Equiv, Kext, Pref Panes)=0ASep 23 20:56:54 Tulku : = It took 13.657333=0Aseconds to Write files=0ASep 23 20:56:54 Tulku : = It took 0.087158=0Aseconds to Assembling receipt=0ASep= 23 20:56:54 Tulku : It took 0.279921 seconds to run=0Apostflight s= cript for RubyCocoa=0ASep 23 20:56:54 Tulku : Sep 23 20:56:54 Tulku : Summa= ry Information=0A=0A=0AI also tried from source still no luck...=0A=0Anow, = I jsut installed from macports and if I open irb and require 'rubycocoa'=0A= =0A>> require 'rubycocoa'=0A=3D> true=0A=0Aso okay that worked,=0A=0ANow wh= en I open xcode, and go to create a new project there is no=0Areference to = ruby...=0A=0AAny suggestions?=0A=0A(P.S I am new to Xcode)=0A=0Athanks!=0A-= - =0AMichael Steinfeld=0ALinux Admin/Developer=0AAIM: mikesteinfeld=0AGTALK= : mik...@gm...=0A=0A----------------------------------------------= ---------------------------=0AThis SF.net email is sponsored by: Microsoft= =0ADefy all challenges. Microsoft(R) Visual Studio 2005.=0Ahttp://clk.atdmt= .com/MRT/go/vse0120000070mrt/direct/01/=0A_________________________________= ______________=0ARubycocoa-talk mailing list=0AR...@li...urcef= orge.net=0Ahttps://lists.sourceforge.net/lists/listinfo/rubycocoa-talk=0A= =0A=0A=0A=0A=0A=0A=0A =0A____________________________________________= ________________________________________=0ABoardwalk for $500? In 2007? Ha!= Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Ga= mes.=0Ahttp://get.games.yahoo.com/proddesc?gamekey=3Dmonopolyherenow |