A simple Rails app, with a single Rack config file (All of the configuration is in app.ru
.
This is the result of following from a short series of four tweets by Greg Molnar, and all credit goes to him. This is essentially a copy of his work, with a few small tweaks (primarily in locking down the Ruby and gem versions).
It could be useful for learning, testing, or just playing around. It's a fun way to kill 5 - 10 minutes, or more... The series of tweets are here: https://twitter.com/GregMolnar/status/1556964177520066560
- Ruby 3.1.2
- Rails 7
- Bundler 2.3.18
- Clone the repo and
cd
into the main app directory. - Install the gems:
bundle install
- Run
rackup app.ru
- Note that this app does not run at port 3000 like a typical Rails app. Open a browser at:
http://localhost:9292