I wrote simple plugin using Jekyll hooks. My plugin is using mainly two hooks:
Jekyll::Hooks.register :site, :after_init do |site|
Jekyll::Hooks.register :documents, :post_render do |doc|
When I have project not using bundler and I run
jekyll serve --trace everything works.
But when I run it in project using bundler by runnig
bundle exec jekyll serve --trace only
after_init hook is called.
How can I diagnose this issue ? How can I fix it ? If you need ore info write comment.