In the case that a Gemfile does not exist, ensure Jekyll doesn't fail.
This commit is contained in:
parent
2f4448eab6
commit
989c70fe4a
|
@ -42,7 +42,7 @@ module Jekyll
|
||||||
ENV["JEKYLL_NO_BUNDLER_REQUIRE"] = "true"
|
ENV["JEKYLL_NO_BUNDLER_REQUIRE"] = "true"
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
rescue LoadError
|
rescue LoadError, Bundler::GemfileNotFound
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue