Pokud nemáte nainstalovaný postgres , možná budete chtít použít:
sudo apt-get install postgresql
sudo apt-get install libpq-dev
následuje gem install pg a bundle .
Pokud máte nainstalovaný postgres a spuštění gem install pg nefunguje, musíte spustit which pg_config získat cestu k vašemu pg_config a spusťte gem install pg -- --with-pg-config= output_from_previous_command .