Skip to content

Installation

Requirements

  • Ruby >= 2.7.0
  • Bundler (recommended)

Installation Methods

Add SimpleFlow to your Gemfile:

gem 'simple_flow'

Then install:

bundle install

Using RubyGems

Install directly with gem:

gem install simple_flow

Dependencies

SimpleFlow has minimal dependencies:

  • async (~> 2.0) - For concurrent execution support

All dependencies are automatically installed.

Verifying Installation

After installation, verify SimpleFlow is working:

require 'simple_flow'

pipeline = SimpleFlow::Pipeline.new do
  step ->(result) { result.continue("Hello, SimpleFlow!") }
end

result = pipeline.call(SimpleFlow::Result.new(nil))
puts result.value
# => "Hello, SimpleFlow!"

If this runs without errors, you're ready to go!

Next Steps