A Single file Rails Application | { Greg Molnar }
09-Aug-2022 1970
Did you know that you can create a single-file Rails application?You shouldn't unless you are experimenting with something, but regardless, let me show you how it's done.Let's create a file and call it "app.ru", the "ru" extension means it will be a rackup file. Then we need to use bundler inline to install the dependencies:.