Put that Bundle.require statement back.

This commit is contained in:
Parker Moore 2014-11-23 14:13:47 -08:00
parent ef53e677a4
commit 10030ae8cd
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ module Jekyll
def self.require_from_bundler def self.require_from_bundler
if !ENV["JEKYLL_NO_BUNDLER_REQUIRE"] && File.file?("Gemfile") if !ENV["JEKYLL_NO_BUNDLER_REQUIRE"] && File.file?("Gemfile")
require "bundler" require "bundler"
#Bundler.setup # puts all groups on the load path Bundler.setup # puts all groups on the load path
required_gems = Bundler.require(:jekyll_plugins) # requires the gems in this group only required_gems = Bundler.require(:jekyll_plugins) # requires the gems in this group only
Jekyll.logger.debug("PluginManager:", "Required #{required_gems.map(&:name).join(', ')}") Jekyll.logger.debug("PluginManager:", "Required #{required_gems.map(&:name).join(', ')}")
ENV["JEKYLL_NO_BUNDLER_REQUIRE"] = "true" ENV["JEKYLL_NO_BUNDLER_REQUIRE"] = "true"