• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem compiling first Cocoa app in Xcode 3.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Bill Royds


 _______________________________________________
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

  • Follow-Ups:
    • Re: Problem compiling first Cocoa app in Xcode 3.1
      • From: "Paul Denlinger" <email@hidden>
References: 
 >Problem compiling first Cocoa app in Xcode 3.1 (From: "Paul Denlinger" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: Thomas Wetmore <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Paul Denlinger" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: Dmitri Goutnik <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: Sam Net <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Conrad Taylor" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Paul Denlinger" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Conrad Taylor" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Paul Denlinger" <email@hidden>)
 >Re: Problem compiling first Cocoa app in Xcode 3.1 (From: "Paul Denlinger" <email@hidden>)

  • Prev by Date: Re: Error codes
  • Next by Date: Re: Error codes
  • Previous by thread: Re: Problem compiling first Cocoa app in Xcode 3.1
  • Next by thread: Re: Problem compiling first Cocoa app in Xcode 3.1
  • Index(es):
    • Date
    • Thread