Here is the error running bundle install vendor/gems on server:
Installing nokogiri (1.5.0) with native extensions Gem::Installer::ExtensionBuildError: ERROR
Just do this:
sudo apt-get install libxslt-dev libxml2-dev libxml2
then type this in terminal (linux) / cmd(windows):
export NOKOGIRI_USE_SYSTEM_LIBRARIES=true