RubyGems Configuration¶
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:
Страница была полезна?