Skip to content

Instantly share code, notes, and snippets.

@dphiffer
Last active October 11, 2015 20:39
Show Gist options
  • Select an option

  • Save dphiffer/048af6e200ac4051a5ca to your computer and use it in GitHub Desktop.

Select an option

Save dphiffer/048af6e200ac4051a5ca to your computer and use it in GitHub Desktop.
Getting GitHub Pages running on a fresh install of OS X 10.10

This assumes you already have XCode installed, and have a project ready to go with a working Gemfile.

There’s more info at: https://help.github.com/articles/using-jekyll-with-pages/

  1. Install Homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Install Bundler: sudo gem install bundler
  3. Install libxml2 + libxslt: brew install libxml2 libxslt
  4. Install nokogiri: sudo env ARCHFLAGS="-arch x86_64" gem install nokogiri -- --use-system-libraries -- --with-xml2-include=/usr/local/Cellar/libxml2/2.9.2/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.2/lib --with-xslt-lib=/usr/local/lib --with-xslt-include=/usr/local/include
  5. Install everything else: bundler install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment