I know there are a lot of questions about this gem but no answer has worked for me.
When I run in SSH gem install nokogiri I get this error:
gem install nokogiri
<
On OSX Yosemite, I did xcode-select --install in a terminal. After which, bundle worked fine with that gem.
xcode-select --install
bundle