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

Joshua Ballanco jballanc at gmail.com
Thu Jun 21 00:25:03 PDT 2012


Hey Stephen,

You will need to create a new "Move Files" phase (can't remember the exact name at the moment…) after the macruby_deploy phase. The macruby_deploy script will attempt to compile any *.rb file it finds under your project, which is why you're seeing this.

Cheers,

Josh  


On Wednesday, June 20, 2012 at 9:26 PM, Stephen Horne wrote:

> 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
>  
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org (mailto:MacRuby-devel at lists.macosforge.org)
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>  
>  


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


More information about the MacRuby-devel mailing list