You can skip this step if you already have Ruby and Bundler installed.
- Get Ruby. Note that these instructions are for OS X 10.6+ only, which comes with Ruby, but it's used for system's own purposes. Follow these steps to avoid mucking with that Ruby's config.
- Install homebrew
- Run
brew update
- Run
brew install rbenv
- Follow instructions to hook
rbenv
into your shell. Basically, you'll need to runrbenv init
and then add something likeeval "$(rbenv init -)"
to your~/.bash_profile
. - Run
rbenv install 2.3.1
- Run
rbenv shell 2.3.1
- Run
ruby --version
. You should see something likeruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
- Get Bundler by running
gem install bundler
. - Run
bundle install
to install project dependencies.
- Run
bundle exec jekyll serve
to start a local server. - Copy/paste the server address into your favorite browser's address bar.
- You should see the built site.
- Making changes to the source will automatically regenerate Jekyll content.
- Refresh the page to see the changes.
- Run
rake test
.