[MacRuby] #957: [Macruby sharedRuntime] should relocate paths when embedded in a Objective-C app
MacRuby
ruby-noreply at macosforge.org
Fri Oct 15 06:56:05 PDT 2010
#957: [Macruby sharedRuntime] should relocate paths when embedded in a
Objective-C app
----------------------------------+-----------------------------------------
Reporter: martinkahr@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
When the Macruby framework is embedded in an objective-c app, than the
paths to the ruby libs and scripts are not set correct.
I got the following info from Laurent: "When you work with a pure MacRuby
Xcode project, which calls macruby_main(), MacRuby will automatically
relocate the paths for you if it's embedded inside the running .app"
The same thing should be done when an app is talking with MacRuby through
[MacRuby sharedRuntime].
You can circumvent this problem by setting the paths by yourself. To see
which paths must be set, you should check the output of macruby -e 'p $:'
(Thanks to Laurent for the info)
--
Ticket URL: <http://www.macruby.org/trac/ticket/957>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list