RubyGems Configuration

OSA Proxy implementation

This page describes the current OSA Proxy implementation. The archived Java/Spring implementation is available in Archived Java/Spring implementation.

ruby:
  enabled: true
  repository:
    - name: ruby
      registry: https://rubygems.org
      scan-manifest: true
      scan-package: true
      work-mode: strict_wait
      url-encoded-config: true

For gem, replace the RubyGems source:

gem sources --add https://osa-proxy.example.com/ruby/
gem sources --remove https://rubygems.org/
gem install rails

For Bundler, set the source in Gemfile:

source "https://osa-proxy.example.com/ruby/"

gem "rails"
Was this page helpful?