Install Ruby, NodeJS, and tools for compiling native ruby gems:
On Ubuntu 18.04+
sudo apt install ruby ruby-dev build-essential libffi-dev zlib1g-dev liblzma-dev nodejs patchOn Fedora 31+
sudo dnf install @development-tools redhat-rpm-config ruby ruby-devel libffi-devel zlib-devel xz-devel patch nodejsThen, update RubyGems and install bundler:
sudo gem update --system
sudo gem install bundlerFirst, install homebrew, then install xcode command line tools:
xcode-select --installAgree to the Xcode license:
sudo xcodebuild -licenseInstall nodejs runtime:
brew install nodeUpdate RubyGems and install bundler:
gem update --system
gem install bundlergit clone https://github.com/jschoedl/neseps-docs.gitcd neseps-docsbundle install
Note: if the above fails on installing nokogiri and using macOS see here for some helpful tips on things that might help.
Development server on http://localhost:4567:
bundle exec middleman serverBuilding html files:
bundle exec middleman build