Lucas Callado | Blog    About    Archive

Ruby and Jekyll — A new journey

Lately I’ve been learning a lot about a new stack — Ruby, Node.js, Python, and Jekyll… and I wanted to share a few tips on how I got my system ready for development. For this specific environment I’m using OS X. Here is my installation log — step-by-step:

  1. Homebrew (OS X) — http://brew.sh/
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

To verify version, check installation status, or update — respectively:

$ brew --version

$ brew doctor

$ brew update

Run:

brew install wget

Homebrew command library (package): BrewFormulas.org

  1. Ruby — https://www.ruby-lang.org/en/
brew install ruby

Install RubyGems

Download the gem file at:

https://rubygems.org/rubygems/rubygems-update-2.5.2.gem

gem install rubygems-update-2.5.2.gem

Install Imagemagick

brew install imagemagick

3. Node.js — https://nodejs.org/en/

brew install node

Display node version, and display npm version — respectively:

node -v

npm -v
  1. Python — https://www.python.org/
brew install python

5. Jekyll — https://jekyllrb.com/

gem install jekyll

 

Build and Serve website:

jekyll build

jekyll serve

Navigate to http://127.0.0.1:4000/

 

Good reference article: Click Here.

On Part 2 I will talk about how to build a simple website/application/blog using Ruby and Jekyll. Cheers!