Skip to content
rifraf edited this page Sep 14, 2010 · 1 revision

Sometimes when running from in a stand-alone embedded executable, you need to run some startup code before the main application starts.

For example, Sinatra needs a patch to Kernel#caller and StaticFile to run under IronRuby when its source files are embedded.

IronRubyAppPackager will detect a file called _boot_.<appname>.rb and run it during initialization and before the app starts.

See the example in Sample Sinatra App for details

Clone this wiki locally