bundler cannot install commonmarker
An alternative would be to "use Jekyll in Windows with Docker" (from James Sturtevant)
That would take advantage of the Docker image jekyll/jekyll
(see its README).
export JEKYLL_VERSION=3.8
docker run --rm \
--volume="$PWD:/srv/jekyll" \
-it jekyll/jekyll:$JEKYLL_VERSION \
jekyll build
And you don't have to install ruby or wrestle with missing dependencies.
Why is my jekyll command not working anymore?
I found a solution, that I think is very not clean, but works for now.
I have two directories in /Library/Ruby/Gems/
:
2.0.0/
gems/
specifications/
...
2.3.0/
gems/
specifications/
...
The error output, when I try to run jekyll, tells that it checks (among others) in /Library/Ruby/Gems/2.3.0
, but as I said in my question, there aren't any jekyll-related file in there.
So, I manually copied all the files from /Library/Ruby/Gems/2.0.0/gems
and /Library/Ruby/Gems/2.0.0/specifications
and pasted them in /Library/Ruby/Gems/2.3.0/gems
and /Library/Ruby/Gems/2.3.0/specifications
respectively.
I guess that the files I've copied are maybe outdated for the Ruby version I have (?), but it works perfectly.
Maybe there is a more conventional way to make it work?
Related Topics
Ruby - Does Array a Contain All Elements of Array B
Ruby: Yield Block from a Block
Could Not Find Rake with Bundle Exec
Could Not Find Rake-10.1.0 in Any of the Sources
Multi Level Block Method Is Generating Issue
Turn on Full Backtrace in Ruby on Rails Testcase
Ruby: What Is the Order of Keys/Values Returned by Hash.Keys and Hash.Values Methods
HTML Is Read Before Fully Loaded Using Open-Uri and Nokogiri
Configure Webrick to Use Automatically Generated Self-Signed Ssl/Https Certificate
What Are All the "Conventions" for Ruby on Rails
Database Cleaner Not Working in Minitest Rails
Detecting Overlapping Ranges in Ruby
Rails: Get Values of Http Response
Ruby Can Not Access Variable Outside the Method