kurtsson / jekyll-multiple-languages-plugin

I18n support for Jekyll and Octopress
MIT License
926 stars 203 forks source link

Undefined method 'dest=' #27

Closed wvpelt closed 9 years ago

wvpelt commented 9 years ago

I've added this plugin to my codebase but my project won't build anymore. I'm using grunt to serve my jekyll site and I always get the following warning which causes the grunt task runner to exit:

jekyll 2.5.2 | Error: undefined method `dest=' for #Jekyll::Site:0x007f9392c5f940

I don't know if this is related to Grunt itself or to jekyll, I don't have enough knowledge to fix it.

alexellison commented 9 years ago

@wvpelt I just ran into this issue as well and it appears to have been introduced as of Jekyll version 2.5.0.

Using Jekyll version 2.4.0 does not produce the same error.

alexellison commented 9 years ago

@wvpelt I've fixed this issue for jekyll versions 2.5.0+ with the referenced pull request.

Make the changes I did locally or clone from my forked repo to resolve the issue for yourself today; else wait until the pull request is merged.

kurtsson commented 9 years ago

Thank you all, I pushed version 1.2.7 with the fix