[MacRuby-devel] Adding ruby 1.8.7 scripts to an application bundle during build

Stephen Horne fatste at gmail.com
Wed Jun 20 11:26:37 PDT 2012


I have a collection of scripts that I want to call from my application. These are 1.8.7 ruby scripts, and cannot be converted to MacRuby.

Currently, I have them installed in a separate directory, and I just call them from the application.

I would like to place them within the bundle to keep everything together, and prevent breaking the external ones through future changes, but I can't figure out how to copy them in during the build phase without trying to compile them to MacRuby, which fails.

I've been trying to do it by adding the directory to the 'Copy Bundle Resources' phase of the project's Build Phases in Targets.

Does anyone know a way to do this?

Thanks,
-- 
Stephen Horne

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20120620/c542837b/attachment.html>


More information about the MacRuby-devel mailing list