Skip to content

Files

Latest commit

 

History

History
32 lines (22 loc) · 675 Bytes

Bundler-InsecureProtocolSource.md

File metadata and controls

32 lines (22 loc) · 675 Bytes

Pattern: Insecure protocol source

Issue: -

Description

The symbol argument :gemcutter, :rubygems and :rubyforge are deprecated. Please change your source to URL string that uses 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.

Examples

# bad
source :gemcutter
source :rubygems
source :rubyforge

# good
source 'https://rubygems.org' # strongly recommended
source 'http://rubygems.org'

Default configuration

Attribute Value
Include **/Gemfile, **/gems.rb

Further Reading