Sort:  

sudo apt-get install libffi-dev libssl-dev, then retry.

That did it! You're the man @furion.