After running: sudo dnf install ruby ruby-devel rubygems nodejs sudo dnf group install "C Development and Tools" I was unable to install Jekyll via `gem` due to an error: The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. Taken from the [fedoraproject.org](https://developer.fedoraproject.org/tech/languages/ruby/gems-installation.html) Gem page: >If you installed all the above, but the extensions would still not compile, you are probably running a Fedora image that misses `redhat-rpm-config` >package. In that case gcc compiler would complain about one of the following: gcc: error: conftest.c: No such file or directory gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory >To solve this, simply run sudo dnf install `redhat-rpm-config`. After doing so it downloaded, compiled and installed without a problem. |
||
---|---|---|
.. | ||
_data | ||
_docs | ||
_includes | ||
_layouts | ||
_posts | ||
_sass | ||
css | ||
fonts | ||
help | ||
img | ||
js | ||
news | ||
redirects | ||
.gitignore | ||
CNAME | ||
README.md | ||
_config.yml | ||
favicon.ico | ||
freenode.txt | ||
index.html | ||
latest_version.txt |
README.md
Jekyll docs site
This directory contains the code for the Jekyll docs site, jekyllrb.com.
Contributing
For information about contributing, see the Contributing page.
Running locally
You can preview your contributions before opening a pull request by running from within the directory:
bundle install
bundle exec rake site:preview
It's just a jekyll site, afterall! 😉