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="/firstname.lastname@example.org/bin:PATH" export LDFLAGS="-Lemail@example.com/lib" export CPPFLAGS="-Ifirstname.lastname@example.org/include" export PKG_CONFIG_PATH="/email@example.com/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 firstname.lastname@example.org)"
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.