Therefore, we need to set up a gem installation directory for your user account.The following commands will add environment variables to your That’s it! Before you start developing with Jekyll, you may want to check that you’re up to date with the latest version.We only cover mac OS High Sierra 10.13 here, which comes with Ruby 2.3.3, older systems will need to install a more recent Ruby version via Homebrew.First, you need to install the command-line tools to be able to compile native extensions, open a terminal and run: Great, from there you can now either use a theme or create your own layouts. Developers often use rbenv to manage multiple Ruby versions.ruby-build can also be used as a standalone program without rbenv.It is available for OS X, Linux, and other UNIX-like operating systems.You can use it like this: This should install the latest stable Ruby version.On mac OS (High) Sierra and OS X El Capitan, Ruby 2.0 is included.
Some of them also allow you to install multiple versions on the same system; associated managers can help to switch between the different Rubies.
If you are planning to use RVM as a version manager you do not need a separate installer, it comes with its own.
ruby-build is a plugin for rbenv that allows you to compile and install different versions of Ruby into arbitrary directories.
If you are on Windows, there is a great project to help you install Ruby: Ruby Installer.
It gives you everything you need to set up a full Ruby development environment on Windows. If you are installing Ruby in order to use Ruby on Rails, you can use the following installers: Many Rubyists use Ruby managers to manage multiple Rubies.