Exception: Bundler::Source::SVN::SVNCommandError
- Inherits:
-
Bundler::SVNError
- Object
- StandardError
- BundlerError
- Bundler::SVNError
- Bundler::Source::SVN::SVNCommandError
- Defined in:
- lib/bundler/source/svn/svn_proxy.rb
Instance Method Summary collapse
-
#initialize(command, path = nil) ⇒ SVNCommandError
constructor
A new instance of SVNCommandError.
Methods inherited from BundlerError
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 |