• 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: Trying to embed Ruby - How are frameworks discovered
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to embed Ruby - How are frameworks discovered


  • Subject: Re: Trying to embed Ruby - How are frameworks discovered
  • From: Scott Thompson <email@hidden>
  • Date: Wed, 19 Mar 2008 12:24:11 -0500

Are you building against an older SDK, by any chance? Ruby.framework is included with Leopard, but not older SDKs.

No. I should have mentioned that. That was one of the first things I checked because in my "day job" we target the 10.4 SDK. I was concerned that a new project might use the previous setting.


I have had some success including the "RubyCocoa.framework" instead of "Ruby.framework". Though I've not finished figuring out how to invoke a ruby script from Objective-C (i.e. the user types some ruby code into a window and asks the app to run it).

I suspect that what I may have to do is include "RubyCocoa.framework" then use the "usual" embedded ruby routines to call out to Ruby.

(a la: http://metaeditor.sourceforge.net/embed/)

Unfortunately, that aforementioned day job interferes.

An amusing irony... the sourceforge site has a document placeholder for doing just what I'd like to do, but it's marked as "todo" (http://rubycocoa.sourceforge.net/RubyFromObjectiveC )

:-)

Scott

_______________________________________________
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


References: 
 >Trying to embed Ruby - How are frameworks discovered (From: Scott Thompson <email@hidden>)
 >Re: Trying to embed Ruby - How are frameworks discovered (From: "Sherm Pendley" <email@hidden>)

  • Prev by Date: Re: Unit Testing not displaying failed case text/line
  • Next by Date: ResMerger failure
  • Previous by thread: Re: Trying to embed Ruby - How are frameworks discovered
  • Next by thread: ResMerger failure
  • Index(es):
    • Date
    • Thread