Exception: Bundler::InsecureInstallPathError
- Inherits:
-
BundlerError
- Object
- StandardError
- BundlerError
- Bundler::InsecureInstallPathError
- Defined in:
- lib/bundler/errors.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ InsecureInstallPathError
constructor
A new instance of InsecureInstallPathError.
- #message ⇒ Object
Methods inherited from BundlerError
Constructor Details
#initialize(path) ⇒ InsecureInstallPathError
Returns a new instance of InsecureInstallPathError.
220 221 222 |
# File 'lib/bundler/errors.rb', line 220 def initialize(path) @path = path end |
Instance Method Details
#message ⇒ Object
224 225 226 227 228 229 |
# File 'lib/bundler/errors.rb', line 224 def "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 |