An introduction to setting up a Square Ruby SDK project.
SDKs and Samples

Set up your Square SDK for a Ruby Project

Learn the basic steps to set up the Square SDK for a Ruby project.

If you are new to developing Square integrations using the Square Ruby SDK, you should try the Quickstart. It provides step-by-step instructions to explore your first project.

The Square Ruby SDK is packaged as a Ruby gem. You can install it manually using the gem utility or dynamically using the Bundler dependency manager.

You can quickly install the Square Ruby SDK, and all of its dependencies, as follows:

To determine where the gem was installed, use the following:

To view the gem's dependencies, use the following:

If you are using Bundler for dependency management, you can create or modify a Gemfile that references the Square Ruby SDK. You can use the following simple Gemfile as is or customize it to fit your needs:

To install the SDK, use the bundle command:

If you need more assistance, contact Developer Support or ask for help in the Developer Forums.