Re: Trying to embed Ruby - How are frameworks discovered
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