-
Notifications
You must be signed in to change notification settings - Fork 34
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
undefined method try_require #7
Comments
Will investigate later today. I assume it's a dependency issue or something
like that.
|
Same error here with Jekyll 3.3.1 |
any solutions found? |
I am getting the same error using Jekyll 3.3.1 - @abemedia can you point me to a repo where this is working so I can compare it with my local repo? |
I got this too using Jekyll 3.3.1. Fixed by adding Gemfile: gem 'jekyll-assets'
gem 'jekyll-pdf' _config.yml: gems:
- jekyll-assets
- jekyll-pdf |
@tersor Any chance you could link to the repo that you have this working in? I have added jekyll-assets to the gemfile and config and am still getting the same error as before when I run jekyll build. Also running Jekyll 3.3.1. |
Having the same issue (Jekyll 3.3.1) has anyone found a solution? |
Same issue here with Jekyll 3.4.1 |
same isuue, jekyll 3.4.3 |
After I did what @tersor suggested Gemfile:
gem 'jekyll-assets'
gem 'jekyll-pdf'
_config.yml:
gems:
- jekyll-assets
- jekyll-pdf I ran into this error
|
I have the same issue as @shivabhusal Using jekyll 3.5.1 No fixes? :( |
@shivabhusal @TheOddler it can be fixed by setting existing layout in config for pdf. |
@zhulik I tried to set it like this but it didn't work..
Also updated my gems with bundle update. Still getting this
|
bundle resolved this to a very old version of jekyll-assets because some other gem (jekyll-picture-tag) required an older version of fastimage (1.6). Newer versions of jekyll-assets, with try_require, need fastimage ~> 1.8. So just fix your jekyll-assets version to ~> 2, run bundle install, and see what's conflicting. |
@tomstaijen – this worked for me! Thanks! |
I had this working until I upgraded to jekyll 3.7.0. Now: /usr/local/lib/ruby/gems/2.4/gems/jekyll-pdf-0.1.7/lib/jekyll/pdf/liquid/tags/jekyll-assets.rb:1:in %gem list *** LOCAL GEMS *** activesupport (5.1.4) |
My problem turned out to be with the new version of jekyll-assets (3.0.5). I had also recently upgraded ruby and had to reinstall all the gems since I last used jekyll-pdf. I dropped back to jekyll-assets 2.4.0 and things are now working again. I don't know if the earlier 3.0.x versions of jekyll-assets work. |
Fixed in this PR - #17 |
see #24 it also contains mneumegen's fix for this issue |
I got an Error if i try bulid the site with Jekyll 3.3.0
An idea what caused this?
The text was updated successfully, but these errors were encountered: