summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-02 10:37:18 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-09 09:16:06 -0800
commit76d9cc80851fddf30c7e60257403c2ddaaa9fdb4 (patch)
tree2a5e887d0ce88e76c38da9bae14287415a2ce7df
parent1d063284f755b996a6563d7210496afd716a9f2d (diff)
downloadchef-76d9cc80851fddf30c7e60257403c2ddaaa9fdb4.tar.gz
remove unnecessary paranoia
-rw-r--r--lib/chef/cookbook/gem_installer.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/chef/cookbook/gem_installer.rb b/lib/chef/cookbook/gem_installer.rb
index c0330f6c46..eccaa0e864 100644
--- a/lib/chef/cookbook/gem_installer.rb
+++ b/lib/chef/cookbook/gem_installer.rb
@@ -18,11 +18,7 @@
#
require "tmpdir"
-begin
- require "bundler/inline"
-rescue LoadError
- raise RuntimeError, "The RFC060 metadata gem feature requires bundler 1.10.0 or greater."
-end
+require "bundler/inline"
class Chef
class Cookbook