jekyllt / jasper2

Full-featured Jekyll port of Ghost's default theme Casper v2 👻
https://jekyllt.github.io/jasper2/
MIT License
763 stars 659 forks source link

Slugify error? #107

Closed Xukinorris closed 3 years ago

Xukinorris commented 4 years ago

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
biomadeira commented 3 years ago

@Xukinorris is this still an issue? bundle exec jekyll serve runs fine here...