Got this message when trying to build Jekyll for the first time, after installing the dependencies according to Gemfile:
Configuration file: /Users/giovannisantin/Projects/blog/_config.yml
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:31: warning: key "[" is duplicated and overwritten on line 69
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:32: warning: key "]" is duplicated and overwritten on line 70
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:30: warning: key "_" is duplicated and overwritten on line 71
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:26: warning: key "{" is duplicated and overwritten on line 98
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:27: warning: key "}" is duplicated and overwritten on line 99
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:41: warning: key "~" is duplicated and overwritten on line 100
Source: /Users/giovannisantin/Projects/blog
Destination: ../jasper2-pages/
Incremental build: disabled. Enable with --incremental
Generating...
jekyll 3.7.4 | Error: undefined method `slugify' for "fiction":String
Any idea how to fix this?
Edit: got rid of the following part of the error since the lines were duplicated on te slugify.rb file. Still can't bundle exec jekyll serve.
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:31: warning: key "[" is duplicated and overwritten on line 69
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:32: warning: key "]" is duplicated and overwritten on line 70
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:30: warning: key "_" is duplicated and overwritten on line 71
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:26: warning: key "{" is duplicated and overwritten on line 98
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:27: warning: key "}" is duplicated and overwritten on line 99
/Library/Ruby/Gems/2.6.0/gems/slugify-1.0/lib/slugify.rb:41: warning: key "~" is duplicated and overwritten on line 100
Got this message when trying to build Jekyll for the first time, after installing the dependencies according to Gemfile:
Any idea how to fix this?
Edit: got rid of the following part of the error since the lines were duplicated on te
slugify.rb
file. Still can'tbundle exec jekyll serve
.