Re: Problem compiling first Cocoa app in Xcode 3.1
Re: Problem compiling first Cocoa app in Xcode 3.1
- Subject: Re: Problem compiling first Cocoa app in Xcode 3.1
- From: Bill Royds <email@hidden>
- Date: Sun, 20 Jul 2008 22:59:49 -0400
On 20-Jul-08, at 22:38 , Paul Denlinger wrote: Thank you.
I have checked /usr/bin; there is no installation of Ruby there; it was moved to the /opt/local directory because of the Macports installation. Ruby will have to be downloaded, compiled and installed in the right directory.
All of this is a bit beyond my current capabilities, so if you know anyone who can do this, please have them contact me.
Thanks again,
You shouldn't have to reinstall it. To check where a particular command is located type (in Terminal): bill-royds-computer:~ billroyds$ which ruby /usr/bin/ruby
then check to see what it actually is
bill-royds-computer:~ billroyds$ ls -Ale@ /usr/bin/ruby lrwxr-xr-x 1 root wheel 76 31 Oct 2007 /usr/bin/ruby -> ../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby
the e and @ extensions are Apple specific to show whether there are ACLs or resource forks attached to it.
These indicate that the ruby in my /usr/bin directory i actually a symlink to /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby (the relative path is to /usr/bin/../.. which is the root directory). See if you still have the version above and just restore the symlink $ sudo ln -s /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby /usr/bin/ruby
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden