Configuring Bundler

How to configure the Bundler package manager

This page explains how to configure the Bundler package manager to pull packages from the Seal artifact server based on your existing setup.

Make sure you have the access token for the server ready.

Pull directly from the artifact server

  1. Open the project's Gemfile.

  2. Set your token to the artifact server in the SEAL_TOKEN environment variable, and put the project's ID in the PROJECT_ID environment variable.

  3. Find the source. Usually it's:

source 'https://rubygems.org'

Replace it with:

source "https://#{ENV['SEAL_PROJECT']}:#{ENV['SEAL_TOKEN']}@ruby.sealsecurity.io 
  1. Install the packages:

bundle install

Last updated