diff options
author | Andre Arko <andre@arko.net> | 2013-02-07 09:37:33 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-02-07 09:37:33 -0800 |
commit | 85eeb29723f164dcf9ad0a3d9d56f5b93fdc6229 (patch) | |
tree | 9c2aa34af940638630803c873c00f366a60a8a4d /lib/bundler.rb | |
parent | 98ca4975eaa5245b06916ebf0fd7f7863ab7e653 (diff) | |
download | bundler-85eeb29723f164dcf9ad0a3d9d56f5b93fdc6229.tar.gz |
create a SecurityError that isn't a build issue
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r-- | lib/bundler.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index de04dffc..40742198 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -61,6 +61,7 @@ module Bundler class ProductionError < BundlerError; status_code(16) ; end class HTTPError < BundlerError; status_code(17) ; end class RubyVersionMismatch < BundlerError; status_code(18) ; end + class SecurityError < BundlerError; status_code(19) ; end WINDOWS = RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw)! FREEBSD = RbConfig::CONFIG["host_os"] =~ /bsd/ |