Skip to content

Instantly share code, notes, and snippets.

@astanush
Created June 4, 2013 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astanush/5707051 to your computer and use it in GitHub Desktop.
Save astanush/5707051 to your computer and use it in GitHub Desktop.
How to set up Jekyll

How to install Jekyll

  • You must have the latest version of Xcode installed (4.6.x), which can be downloaded from the App Store.
  • If you have an older version of Xcode, you must uninstall it first.
  • After the new version of Xcode is installed, go to Xcode > Preferences > Downloads > Command Line Tools and click "Install".

Now, let's try installing Jekyll.

gem install jekyll

If you're getting an error about RubyGems being out of date, the following command will update RubyGems to the latest version.

gem update --system

How to create a Jekyll project

jekyll new my-awesome-site

Start your engines

cd my-awesome-site
jekyll serve -w

Now browse to http://localhost:4000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment