Installation¶
Requirements¶
- Ruby >= 2.7.0
- Bundler (recommended)
Installation Methods¶
Using Bundler (Recommended)¶
Add SimpleFlow to your Gemfile:
Then install:
Using RubyGems¶
Install directly with gem:
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¶
- Quick Start Guide - Build your first pipeline
- Examples - See SimpleFlow in action
- Core Concepts - Understand the fundamentals