Hi, sharing this here in case it might help others.
I ran into a bunch of problems trying to install jekyll on OS X
“gem install jekyll” was failing, and I traced this to a failure to install the dependency sassc. In fact “gem install sassc” was also failing.
I found the solution after re-installing Ruby with Homebrew, and noted carefully the output it was giving me about settings I may need. Following those recommendations, my .bash_profile now contains these lines:
export PATH="/email@example.com/bin:PATH" export LDFLAGS="-Lfirstname.lastname@example.org/lib" export CPPFLAGS="-Iemail@example.com/include" export PKG_CONFIG_PATH="/firstname.lastname@example.org/lib/pkgconfig" export LDFLAGS="-L/usr/local/opt/readline/lib" export CPPFLAGS="-I/usr/local/opt/readline/include" export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig" export RUBY_CONFIGURE_OPTS="--with-openssl-dir=(brew --prefix email@example.com)"
I was then able to successfully install jekyll. Apparently, some of the flags set above were needed for sassc to compile, and this was breaking the jekyll install.