To enable Ruby support, install the Ruby gem.
gem install pads
Using Bundler is optional. Standalone scripts can simply require pads.
#!/usr/bin/env ruby
require 'pads'
Pads.run do |pads|
# Your script can live inside this event loop.
end
Check the examples for how to write scripts that render pads.