Please go to visit this website. https://jekyllrb.com/
Follow the Installation step.It will help you to install ruby.
After finish installation,type this command,for install jekyll.
$ gem install jekyll bundler
There's one thing you have to notice.If you can not run the script, please type this command first.
$ bundle install
Start server
$ bundle exec jekyll serve