This document provides a tutorial for distributing Rails applications by packaging them into standalone executables. It outlines the necessary ingredients like Ruby, Rails, SQLite. It then describes the steps to setup the environment, create a SQLite database, develop the Rails app, create a Ruby archive (RBA) of the application using Tar2RubyScript, and finally generate a standalone executable using RubyScript2Exe. Some adjustments are needed to the code to properly handle database file paths when running as an RBA versus a normal Rails application. Following these steps allows one to distribute a complete Rails application in a single executable without any other dependencies.