MacRuby DoJo (道場)

Embeds the MacRuby Into Application

Application that you created has been just worked with environment which installed MacRuby. When you distribute your application, MacRuby might not be installed in users environments.

Therefore, MacRuby may embed itself into your application. The application which embedded MacRuby will work everywhere.

You choose “Deployment” and click [Run] like the following figure. MacRuby is embedded into your application.

image

You can specify several options with “Deployment” in “Arguments” like the following figure.

image

Run a macruby_deploy command in Terminal.app, you could confirm the options.

1
2
3
4
5
6
7
8
9
10
11
$ macruby_deploy 
Usage: macruby_deploy [options] application-bundle
        --compile                    Compile the bundle source code
        --embed                      Embed MacRuby inside the bundle
        --no-stdlib                  Do not embed the standard library
        --stdlib [LIB]               Embed only LIB from the standard library
        --gem [GEM]                  Embed GEM and its dependencies
        --bs                         Embed the system BridgeSupport files
        --verbose                    Log all commands to standard out
        --codesign [CERT]            Sign the files with the specified certificate
    -v, --version                    Display the version

Comments