From 1a01f95a12a3770f5241507f7f11adfbf6451e34 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Mon, 14 Jan 2019 21:38:17 +0530 Subject: [PATCH] Remind user to include gem in the Gemfile on error (#7476) Merge pull request 7476 --- lib/jekyll/external.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/jekyll/external.rb b/lib/jekyll/external.rb index f2831719..d42762ee 100644 --- a/lib/jekyll/external.rb +++ b/lib/jekyll/external.rb @@ -63,6 +63,9 @@ module Jekyll Yikes! It looks like you don't have #{name} or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. + If you've run Jekyll with `bundle exec`, ensure that you have included the #{name} + gem in your Gemfile as well. + The full error message from Ruby is: '#{e.message}' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!