Skip to content

Latest commit

 

History

History

ruby

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Table of Contents

Ruby

Internal system integrations in Ruby. Check out the parent README for more context.

Installation

Install Ruby via homebrew (if not using Codespaces)

brew install ruby

Ensure Bundler 2 is installed

[sudo] gem install bundler

Install dependencies

bundler install

Start

ruby server.rb

Open the browser

Go to localhost:4567

Add to your Data Map

You can test against this example live by adding it to your Data Map and using ngrok to map your localhost to a live domain.

ngrok http -hostname=test-ruby.ngrok.io 4567

Cron example

You can run the following command:

ruby cron.rb

Or you can just fork the repl located in this page.