aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorJosef Šimánek <josef.simanek@gmail.com>2014-01-24 14:31:06 +0100
committerJosef Šimánek <josef.simanek@gmail.com>2014-01-26 13:18:06 +0100
commitf66b49ebddf4cd20c057c54e594b9758ad29528b (patch)
tree8827c26f2044b10653a4d06c2e3ca477ad77a6b9 /lib/bundler.rb
parentfc0a620873e107310d588579cded6c6ee9dbe417 (diff)
downloadbundler-f66b49ebddf4cd20c057c54e594b9758ad29528b.tar.gz
Don't blow on bundle update gem when lock is not present.
* rename not_found_message to gem_not_found_message * add lock_not_found_message * add GemfileLockNotFound error with 22 status code
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 59878c03..0804a08d 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -67,6 +67,7 @@ module Bundler
class SecurityError < BundlerError; status_code(19) ; end
class LockfileError < BundlerError; status_code(20) ; end
class CyclicDependencyError < BundlerError; status_code(21) ; end
+ class GemfileLockNotFound < BundlerError; status_code(22) ; end
# Internal errors, should be rescued
class VersionConflict < BundlerError