Follow these instructions:
# Optional: clean your system first.
$ sudo dnf remove ruby rubygems rubygem-rake rubygem-bundler ruby-devel rpm-build gcc-c++ make
# Install ruby and other native RPM packages
# TODO Is rpm-build obsolete? It was once needed for ffi
# TODO Is gcc-c++ obsolete? It was needed for eventmachine
$ sudo dnf install ruby rubygems rubygem-rake rubygem-bundler ruby-devel rpm-build gcc-c++ make
$ ruby --version
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
# Setup the gem dependencies
$ rake setup
Then build the optaplanner-website (before and after your changes):
$ rake clean build
$ firefox _site/index.html
And publish your changes (if you got authorization, otherwise Jenkins will do it):
$ rake clean build publish
Follow the instructions of Awestruct’s getting started guide.
If you want to build or contribute to a kiegroup project, read this document.
It will save you and us a lot of time by setting up your development environment correctly. It solves all known pitfalls that can disrupt your development. It also describes all guidelines, tips and tricks. If you want your pull requests (or patches) to be merged into master, please respect those guidelines.