macOS install ruby

Published:

In order to test my blog locally, I installed ruby and jekyllon mac.

rvm(Ruby Version Manager)

1.install rvm

curl -L get.rvm.io | bash -s stable

2.list all Ruby

rvm list

3.install Ruby by rvm

rvm install ruby 2.*

4.check the version of Ruby

ruby -v

5.update gem

gem update --system

6.Install jekyll

gem intall jekyll jekyll-paginate

7.command to run jekyll locally

jekyll serve build