Ruby: 3.4.1
Rails: 8.0.1
solid_queue running as a plug_in
This simple recurring job fails:
production:
periodic_cleanup:
class: CloseTripsJob
queue: background
schedule: every hour
with this error:
10:48:03 web.1 | Invalid recurring tasks:
10:48:03 web.1 | - production: Schedule is not a supported recurring schedule, either command or class_name must be present
10:48:03 web.1 | Exiting...
10:48:07 web.1 | Detected Solid Queue has gone away, stopping Puma...
EDIT: it only fails if the only environment declared is production and trying to run the app in development