Exception: Bundler::Source::SVN::SVNCommandError

Inherits:
Bundler::SVNError show all
Defined in:
lib/bundler/source/svn/svn_proxy.rb

Instance Method Summary collapse

Methods inherited from BundlerError

status_code

Constructor Details

#initialize(command, path = nil) ⇒ SVNCommandError

Returns a new instance of SVNCommandError.


23
24
25
26
27
# File 'lib/bundler/source/svn/svn_proxy.rb', line 23

def initialize(command, path = nil)
  msg =  "SVN error: command `svn #{command}` in directory #{Dir.pwd} has failed."
  msg << "\nIf this error persists you could try removing the cache directory '#{path}'" if path && path.exist?
  super msg
end