Using Your Local Ruby Environment to Deploy Blockspring Functions

Installing the Blockspring Command Line Tool

In this step you'll install the Blockspring Command Line (CLI) tool. The CLI tool lets you quickly create, deploy, and sync functions with your Blockspring cloud library - commands you'll use in later steps.

Getting the command line tool is as simple as installing a gem:

$ gem install blockspring-cli
Fetching: blockspring-cli-0.0.9.gem (100%)
Successfully installed blockspring-cli-0.0.9
1 gem installed

Once the gem is installed, you can use the blockspring command to login:

$ blockspring login
Enter your Blockspring credentials.
Username or email: jason@blockspring.com
Password (typing will be hidden):
You are logged in as jason@blockspring.com

You can run blockspring auth at any time to check if you're logged in.