I come across the situation where I want to re-run a Ruby script every so often. I'd like to know the simplest way to run this in the cloud. All it needs to do is execute a script every x seconds or minutes, etc. It should be able to require gems installed via a
Gemfile and that's it. If anything requires any special builds outside of Ruby I don't need it.
I have some ways I've done this in the past, but always with a bit of extra overhead and boilerplate I feel like I could do without. What I'm looking for is the best possible developer experience.
Of things I haven't really tried, AWS Lambda + Scheduled Events seems like it could be a nice go-to. It's not clear to me at this moment whether I can run Ruby with gem dependencies in Lambda. I've used the service, but not with Ruby.
I'm also not stuck on Ruby but it's my go-to language for simple scripts and I'd love if I could deploy these with equal simplicity. All input is welcome, including non-Ruby things to try that really do accomplish the goal of simplicity.