[MacRuby] #957: [Macruby sharedRuntime] should relocate paths when embedded in a Objective-C app
#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/>
#957: [Macruby sharedRuntime] should relocate paths when embedded in a Objective-C app ----------------------------------+----------------------------------------- Reporter: martinkahr@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: minor | Milestone: MacRuby 0.8 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.8 Comment: Should be fixed by r4807. -- Ticket URL: <http://www.macruby.org/trac/ticket/957#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby