I get a lot of emails about packing and distributing Rails applications with Tar2RubyScript and RubyScript2Exe. It obviously wasn't easy to come up with the steps that have to be taken to transform a Rails application into a standalone application. Since I never built a Rails application myself, I wasn't even sure if it was possible at all. That's why I decided to write this tutorial.
In this tutorial, we'll go through the following steps:
- Setup the environment
- Create the SQLite database
- Develop the Rails application
- Create the RBA (= Ruby archive) from the application with Tar2RubyScript
- Create the standalone executable with RubyScript2Exe