123456789_123456789_123456789_123456789_123456789_

Exception: Bundler::InsecureInstallPathError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, BundlerError, StandardError
Instance Chain:
self, BundlerError, StandardError
Inherits: Bundler::BundlerError
Defined in: lib/bundler/errors.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(path) ⇒ InsecureInstallPathError

[ GitHub ]

  
# File 'lib/bundler/errors.rb', line 220

def initialize(path)
  @path = path
end

Instance Method Details

#message

[ GitHub ]

  
# File 'lib/bundler/errors.rb', line 224

def message
  "The installation path is insecure. Bundler cannot continue.\n" \
  "#{@path} is world-writable (without sticky bit).\n" \
  "Bundler cannot safely replace gems in world-writeable directories due to potential vulnerabilities.\n" \
  "Please change the permissions of this directory or choose a different install path."
end