eggcaker / jekyll-org

org-mode converter for Jekyll.
http://eggcaker.github.io/jekyll-org
MIT License
132 stars 29 forks source link

Warnings while starting jekyll server #43

Closed k0va1 closed 4 years ago

k0va1 commented 5 years ago

I've added gem to Gemfile in group :jekyll_plugins. Everything works but why these warnings appears?

/Users/a.koval/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jekyll-org-1.0.2/lib/jekyll-org.rb:37: warning: already initialized constant Jekyll::Document::DATELESS_FILENAME_MATCHER /Users/a.koval/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jekyll-3.6.2/lib/jekyll/document.rb:14: warning: previous definition of DATELESS_FILENAME_MATCHER was here /Users/a.koval/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jekyll-org-1.0.2/lib/jekyll-org.rb:38: warning: already initialized constant Jekyll::Document::DATE_FILENAME_MATCHER /Users/a.koval/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jekyll-3.6.2/lib/jekyll/document.rb:15: warning: previous definition of DATE_FILENAME_MATCHER was here Configuration file: /Users/a.koval/dev/kova1.gitlab.io/_config.yml Source: /Users/a.koval/dev/kova1.gitlab.io Destination: /Users/a.koval/dev/kova1.gitlab.io/_site Incremental build: disabled. Enable with --incremental

mohkale commented 4 years ago

I believe this was because an earlier version of this gem was redefining a lot of the Document class for the sake of simplicity. It should no longer be an issue, please check.