Description
Gush is a parallel workflow runner for Ruby. You describe jobs and the dependencies between them as a directed acyclic graph, and Gush runs them in parallel where the dependencies allow. It uses only Redis as storage and ActiveJob for scheduling and executing jobs, so it works with whichever ActiveJob backend you already run. Each job is defined with a single run method, and a workflow is built from jobs. To set it up, add the gem to your Gemfile and create a Gushfile in the project root that requires your workflows and jobs. In a Rails app, requiring the full environment is enough, and the workflow and job directories need to be added to autoload_paths. Then start background workers for your ActiveJob backend, create a workflow instance and run it. The README notes that it describes the master branch, which can differ from the release on RubyGems. Gush is open source and developed on GitHub.…
Highlights
- Parallel workflows with job dependencies
- Redis as the only storage
- Runs jobs through ActiveJob
- Define each job with a single run method
- Works with Rails and plain Ruby
Ratings & Reviews
No ratings yet
Be the first to rate Gush.
People also visit
Gush FAQ
What is Gush?
A Ruby workflow runner that executes jobs in parallel according to a dependency graph, using Redis for storage.
What does it depend on?
Redis for storage and ActiveJob for scheduling and running jobs. Your ActiveJob backend, such as Sidekiq, runs the workers.
How do I install it?
Add the gem to your Gemfile, then create a Gushfile in the project root that requires your workflows and jobs.
Does it work with Rails?
Yes. The README says requiring the Rails environment is enough, and the workflow and job directories should be added to autoload_paths.
Is it open source?
Yes, it is developed on GitHub. The README notes that the master branch can differ from the version on RubyGems.
What are the best Gush alternatives?
Popular alternatives to Gush include Gust, Go Workflows and Goflow. See all Gush alternatives



