From 60202782ea9dabc166335d2247e78d120a8e9b74 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sun, 16 Nov 2014 21:21:50 -0800 Subject: [PATCH] Only try bundler if the Gemfile is there. --- lib/jekyll/plugin_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/plugin_manager.rb b/lib/jekyll/plugin_manager.rb index e709b608..b48969fe 100644 --- a/lib/jekyll/plugin_manager.rb +++ b/lib/jekyll/plugin_manager.rb @@ -33,7 +33,7 @@ module Jekyll end def self.require_from_bundler - if ENV["JEKYLL_NO_BUNDLER_REQUIRE"] + if ENV["JEKYLL_NO_BUNDLER_REQUIRE"] || !File.file?("Gemfile") false else require "bundler"