jekyll-gist | Liquid tag for displaying GitHub Gists | Theme library
kandi X-RAY | jekyll-gist Summary
kandi X-RAY | jekyll-gist Summary
Liquid tag for displaying GitHub Gists in Jekyll sites: {% gist %}.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jekyll-gist
jekyll-gist Key Features
jekyll-gist Examples and Code Snippets
Community Discussions
Trending Discussions on jekyll-gist
QUESTION
I am trying to contribute to a Github Page/Jekyll site and want to be able to visualise changes locally but when I run bundle exec jekyll serve
but I get this output:
ANSWER
Answered 2021-Feb-02 at 16:29I had the same problem and I found a workaround here at https://github.com/jekyll/jekyll/issues/8523
Add gem "webrick"
to the Gemfile in your website. Than run bundle install
At this point you can run bundle exec jekyll serve
For me it works!
QUESTION
I am trying to add code excerpts via my gists using tag {% gist 1234567 %}
. But they are not getting displayed in my post. They are displayed as is. {% gist 1234567 %}
.
My post is a markdown file which I am hosting using github pages with jekyll minima theme on github. So the link to the posts look like this
https://github.com//blog/.md
I added the line to include gists into the _config.yml file. Following is the code in the _config.yml file.
...ANSWER
Answered 2021-Jan-20 at 09:37I used the full git commit ID in the tag and my gists were displayed in the markdown file.
{% gist 1234567xxxxxxxxx.... %}
Weird when the 7 characters generally are enough. But this worked for me.
QUESTION
I'm trying to run a basic GitHub page locally on macOS.
Here is my Gemfile:
...ANSWER
Answered 2020-Jan-01 at 17:01It looks due to the latest update of faraday - a gem depended by github-pages.
Try this workaround temporarily.
Add the following line to your Gemfile.
gem 'faraday', '~> 0'
Use command
bundle update
to update the gem(s) with Gemfile.You may see outputs below:
Fetching faraday 0.17.3 (was 1.0.0)
Installing faraday 0.17.3 (was 1.0.0)That means gem faraday in ./vendor/bundle has been updated to the latest compatible version with the github-pages.
You can check the version history of faraday at this page on rubygems.org.
Try
bundle exec jekyll
again.If it doesn't work yet, try
bundle pristine
.
QUESTION
I'm trying to install Jekyll on Leopard but can't get it working. The most progress I've made is being able to run gem install jekyll
in Terminal, but then I get the error make failed, exit code 2
.
- I have tigerbrew installed (since brew is incompatible with leopard now)
- I have rvm installed (installed from source due to constant certificate/ssl errors)
- I have installed Ruby version 2.3.8p459 from source
- I have Xcode 3.1.3 installed
I can't install ruby from rbenv or rvm due to cert/ssl errors, that's why I've installed it from source. I can install via brew install ruby
, but get the same results.
I've looked at many other posts regarding the make failed
error which tends to be related to multiple Ruby versions. None of the answers on these pages worked as I've installed everything from source (ruby has never been installed by brew, rbenv or rvm).
I have tried installing ruby with all of the above but got the same error.
Each time I've tested installing Ruby either from source or from tigerbrew/homebrew I've clean installed a new system of Leopard + Xcode etc. I've also tried this on multiple machines.
I've just updated rubygems to version 3.0.2, which fixed some certificate errors when installing gems but hasn't fixed the problem.
Is there anything else I can do to get this working??
Below is the output from Terminal when I run gem install jekyll
.
ANSWER
Answered 2019-Feb-23 at 09:39So I figured out that the Make error is due to some dependencies being incompatible with the system.
I managed to get Jekyll 3.8.5 installed on OSX 10.5.6 (Leopard) by running these commands:
QUESTION
I have a Jekyll blog that I am able to build locally with bundle exec jekyll serve
but am unable to build on Github Pages. I forked a theme, followed the setup instructions but cannot figure out what the issue is.
The error message does not provide any detailed information:
...ANSWER
Answered 2018-Jan-19 at 17:13In your title you have:
QUESTION
I use Jekyll to blog using GitHub pages. I have had a problem when running $ bundle exec jekyll serve
or jekyll serve
and the console prints:
ANSWER
Answered 2017-Jun-19 at 20:39It seems you don't have libcurl which is probably a dependency of this version of Jekyll or one of it's dependencies. Can you try installing it via https://curl.haxx.se/dlwiz/?type=lib?
QUESTION
Trying to execute jekyll on cygwin (x64) on Windows when I get this error in spite of using bundle exec prefix.
Shouldn’t the dependency defined in the Gemfile (i.e. 1.8.6) be activated when executing?
Any thoughts on what is going wrong here? I am totally new to the world of Ruby gems. I have looked at other "You have already activated .. " posts showing similar messages but the answers there didn’t solve my problem.
$ bundle exec jekyll serve
...ANSWER
Answered 2017-Mar-31 at 01:38I had the same problem yesterday. I am not an expert but the following worked for me:
I created a new website with Jekyll using:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jekyll-gist
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page