-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'no implicit conversion of nil into String' in reader.rb #34
Comments
Thank you for filing this report, @danrue. I didn't place a check to validate If the theme you're using doesn't have the |
I understand that this situation shouldn't happen, but as a matter of fact it did for me. Note that the Gemfile that listed this plugin was in my site's folder, not a theme's folder, and so when the site changed from a theme that uses it to a theme that doesn't, it triggered this problem. But it wasn't that easy to find, because the automated build process didn't hit it for some reason. So I guess it's up to you whether or not it's worth supporting such broken setups - at least a human readable error message would have likely saved me hours. |
Fair enough. I'll release a patch in a couple of days. |
No problem, and thank you very much. I would just like to save the next person the trouble, which may have already been accomplished by this issue report. |
I was having the same issue with the gem. But the release on GitHub is working, so I guess this fix wasn't released yet? |
Fix shipped in v1.1.1 |
I'm not a big ruby guy and so I'm not sure if this is a bug, but it did take me multiple hours to figure out so I thought it is worth documenting and reporting.
While building a jekyll site, I hit the following issue:
My Gemfile contained:
With such a Gemfile, if certain themes were loaded (themes which do not use jekyll-data?), the traceback seen above is shown during 'jekyll build' or 'jekyll serve'.
Removing jekyll-data from my Gemfile solved the problem, and more than likely it never should have been there in the first place.
However, I would also expect that jekyll-data would handle such a case more gracefully.
Specifically, what it seems is happening is site.theme.data_path is set to nil, and the following line explodes
jekyll-data/lib/jekyll-data/reader.rb
Line 10 in 7aee1fb
The text was updated successfully, but these errors were encountered: