jekyll-github-sample icon indicating copy to clipboard operation
jekyll-github-sample copied to clipboard

Liquid Exception: No such file or directory @ rb_sysopen

Open erikw opened this issue 3 years ago • 1 comments

Hey,

using the latest version of jekyll-github-sample (v0.3.2) together with Jekyll v4.2.0 and the setup from the README (the exact same sample usages), I get this error on jekyll build:

Liquid Exception: No such file or directory @ rb_sysopen - https://raw.githubusercontent.com/bwillis/versioncake/Appraisals/ in /home/..../post.md
bundler: failed to load command: jekyll (/usr/local/lib/ruby/gems/3.0.0/bin/jekyll)
/usr/local/lib/ruby/gems/3.0.0/gems/jekyll_github_sample-0.3.2/lib/jekyll_github_sample/code_tag.rb:19:in `initialize': No such file or directory @ rb_sysopen - https://raw.githubusercontent.com/bwillis/versioncake/Appraisals/ (Errno::ENOENT)

Any hints on what the issue could be? Anyone else getting this as well? :)

erikw avatar Jun 18 '21 13:06 erikw

This is because #20 has not been released as part of a tagged version of this Gem. You need to add the following to your Gemfile

gem "jekyll_github_sample", git: "https://github.com/bwillis/jekyll-github-sample", ref: 'master'

sc68cal avatar Dec 21 '22 05:12 sc68cal