Fly launch only suggests redis when it detects something in your configuration that requires it.
To run a job you need something like SideKiq (which requires redis) or Solid Queue (which does not). Either way, you need to run that tool in a separate process.
Try running the following in an empty directory:
rails new . --main
bin/rails generate job cleanup
fly launch
Note that redis is not prompted for. Then check your fly.toml
, specifically for:
[env]
DATABASE_URL = 'sqlite3:///data/production.sqlite3'
HTTP_PORT = '8080'
[processes]
app = 'bundle exec thrust ./bin/rails server'
solidq = 'bundle exec rake solid_queue:start'
[[mounts]]
source = 'data'
destination = '/data'