I started working on a new computer and it didn’t have any of the pre-requisites to work with Octopress installed, it took me a good amount of time to get everything up an ready. In this post I explain how to get Octopress up an running on OS X Yosemite.
I was not able to install Ruby at first because Homebrew was not installing and required a separate installation. The symptoms were:
What gave me a more clear indication that something was missing was when I attempted to install Homebrew by itself
With more digging around, I found this post at StackOverflow where basically explained it was because I never executed Xcode on this machine before, so I had to manually open it one time which kicked off the installation of additional components. Onces that finished I was able to install Homebrew and I executed brew doctor
After that I hit another roadblock during the installation of Ruby 1.9.3
Found the issue again and basically I needed to install more xcode dependencies. I did it by executing
After all of that I decided to upgrade the Ruby version used by Octopress to version 2.2.0. To do that I edit the version of ruby in the following files:
Last I got a warning about htmltags in liquid that basically can be solved by upgrading liquid to version. 2.6.2. I changed the version in the Gemfile.lock and Gemfile and executed