Skip to content

Instantly share code, notes, and snippets.

@flyerhzm
Created May 2, 2020 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flyerhzm/27e3e09d38bb278b5fbce4d7e7d7192a to your computer and use it in GitHub Desktop.
Save flyerhzm/27e3e09d38bb278b5fbce4d7e7d7192a to your computer and use it in GitHub Desktop.
Jekyll.logger.error "Dependency Error:", <<~MSG
- Yikes! It looks like you don't have #{name} or one of its dependencies installed.
+ 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.
+ gem in your Gemfile as well.
- The full error message from Ruby is: '#{e.message}'
+ The full error message from Ruby is: '#{e.message}'
If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
- MSG
+ MSG
raise Jekyll::Errors::MissingDependencyException, name
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment