Dependency Error jekyll-figure

When I run bundle exec jekyll serve I get following error message

Dependency Error: Yikes! It looks like you don't have jekyll-figure or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- jekyll-figure' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/! 
jekyll 3.4.0 | Error:  jekyll-figure

I added gem to gemfile and did a bundle install …Still got error message
Any way to fix this, Thanks.

Gemfile
source “https://rubygems.org
ruby RUBY_VERSION

# This will help ensure the proper Jekyll version is running.
gem "jekyll", "3.4.0"
gem 'jekyll-paginate'
gem 'jekyll-sitemap'
gem 'jekyll-figure'



# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Any clue you get, please look into it…

update your config file to load jekyll/figure instead:

gems:
  - jekyll-paginate
  - jekyll-sitemap
  - jekyll/figure
2 Likes