- 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
jekyll new my-awesome-site
cd my-awesome-site
jekyll serve -w
Now browse to http://localhost:4000